set_state


Description:

public void set_state (StateType state)

This function is for use in widget implementations.

Note:

Use gtk_widget_set_state_flags instead.

Sets the state of a widget (insensitive, prelighted, etc.) Usually you should set the state using wrapper functions such as set_sensitive.

Parameters:

this

a Widget

state

new state for this