Method

GtkWidgetset_state

Declaration [src]

void
gtk_widget_set_state (
  GtkWidget* widget,
  GtkStateType state
)

Description [src]

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_set_sensitive().

Deprecated since:3.0

Use gtk_widget_set_state_flags() instead.

Parameters

state GtkStateType
 

New state for widget.