GtkStateType

This type indicates the current state of a widget; the state determines how the widget is drawn. The #GtkStateType enumeration is also used to identify different colors in a #GtkStyle for drawing, so states can be used for subparts of a widget as well as entire widgets.

More...

Values

ValueMeaning
NORMAL0

State during normal operation.

ACTIVE1

State of a currently active widget, such as a depressed button.

PRELIGHT2

State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks.

SELECTED3

State of a selected item, such the selected row in a list.

INSENSITIVE4

State indicating that the widget is unresponsive to user actions.

INCONSISTENT5

The widget is inconsistent, such as checkbuttons or radiobuttons that aren’t either set to %TRUE nor %FALSE, or buttons requiring the user attention.

FOCUSED6

The widget has the keyboard focus.

Detailed Description

Deprecated: All APIs that are using this enumeration have been deprecated in favor of alternatives using #GtkStateFlags.

Meta