This function is for use in widget implementations.
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.
| this |
a Widget |
| state |
new state for this |