IconSource.setState

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 IconSource.setStateWildcarded to un-wildcard it in addition to calling this function.

More...
class IconSource
void
setState

Parameters

state GtkStateType

widget state this source applies to

Detailed Description

Deprecated: Use gtk.IconTheme instead.