Widget.setState
void setState(gtk.types.StateType state)This function is for use in widget implementations. Sets the state of a widget (insensitive, prelighted, etc.) Usually you should set the state using wrapper functions such as gtk.widget.Widget.setSensitive.
Parameters
state | new state for widget |
Deprecated
Use gtk.widget.Widget.setStateFlags instead.