set_state


Description:

public void set_state (StateType state)

Sets the widget state this icon source is intended to be used with.

Note:

Use IconTheme instead.

Setting the widget state on an icon source makes no difference if the state is wildcarded. Therefore, you should usually call set_state_wildcarded to un-wildcard it in addition to calling this function.

Parameters:

this

a IconSource

state

widget state this source applies to