IconSource.setState
void setState(gtk.types.StateType state)Sets the widget state this icon source is intended to be used with.
Setting the widget state on an icon source makes no difference if the state is wildcarded. Therefore, you should usually call [gtk.icon_source.IconSource.setStateWildcarded] to un-wildcard it in addition to calling this function.
Parameters
state | widget state this source applies to |
Deprecated
Use #GtkIconTheme instead.