Gtk.IconSource.prototype.set_state_wildcarded

function set_state_wildcarded(setting:Boolean):void {
    // Gjs wrapper for gtk_icon_source_set_state_wildcarded()
}

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

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

Gtk.IconSet will normally transform wildcarded source images to produce an appropriate icon for a given state, for example lightening an image on prelight, but will not modify source images that match exactly.

setting

true to wildcard the widget state