Enumeration

GtkStateType

deprecated: 3.14 

Declaration

enum Gtk.StateType

Description [src]

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.

Deprecated since: 3.14

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

Members

GTK_STATE_NORMAL

State during normal operation.

  • Value: 0
  • Available since: 3.0
GTK_STATE_ACTIVE

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

  • Value: 1
  • Available since: 3.0
GTK_STATE_PRELIGHT

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

  • Value: 2
  • Available since: 3.0
GTK_STATE_SELECTED

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

  • Value: 3
  • Available since: 3.0
GTK_STATE_INSENSITIVE

State indicating that the widget is unresponsive to user actions.

  • Value: 4
  • Available since: 3.0
GTK_STATE_INCONSISTENT

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

  • Value: 5
  • Available since: 3.0
GTK_STATE_FOCUSED

The widget has the keyboard focus.

  • Value: 6
  • Available since: 3.0