Enumeration (GI Enum)

Gtk-3.0GtkStateTypeDeprecated 3.14

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

since 3.14: All APIs that are using this enumeration have been deprecated in favor of alternatives using Gtk.StateFlags.

Index

Enumeration Members

ACTIVE: number

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

FOCUSED: number

The widget has the keyboard focus.

INCONSISTENT: number

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

INSENSITIVE: number

State indicating that the widget is unresponsive to user actions.

NORMAL: number

State during normal operation.

PRELIGHT: number

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

SELECTED: number

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