Gtk.IconSource.prototype.set_size_wildcarded

function set_size_wildcarded(setting:Boolean):void {
    // Gjs wrapper for gtk_icon_source_set_size_wildcarded()
}

If the icon size is wildcarded, this source can be used as the base image for an icon of any size. If the size is not wildcarded, then the size the source applies to should be set with Gtk.IconSource.prototype.set_size and the icon source will only be used with that specific size.

Gtk.IconSet prefers non-wildcarded sources (exact matches) over wildcarded sources, and will use an exact match when possible.

Gtk.IconSet will normally scale wildcarded source images to produce an appropriate icon at a given size, but will not change the size of source images that match exactly.

setting

true to wildcard the widget state