Widget.setState

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.

More...
class Widget
void
setState

Parameters

state gtk.types.StateType

new state for widget

Detailed Description

Deprecated: Use gtk.widget.Widget.setStateFlags instead.