Method

GtkWidgetset_state

deprecated: 3.0 

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

Type: GtkStateType

New state for widget.