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.
Value | Symbolic name | Description |
0 | Gtk::STATE_NORMAL | State during normal operation. |
1 | Gtk::STATE_ACTIVE | State of a currently active widget, such as a depressed button. |
2 | Gtk::STATE_PRELIGHT | State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks. |
3 | Gtk::STATE_SELECTED | State of a selected item, such the selected row in a list. |
4 | Gtk::STATE_INSENSITIVE | State indicating that the widget is unresponsive to user actions. |