GtkStateFlags

Describes a widget state. Widget states are used to match the widget against CSS pseudo-classes. Note that GTK extends the regular CSS classes and sometimes uses different names. GTK_STATE_FLAG_NORMAL State during normal operation. GTK_STATE_FLAG_ACTIVE Widget is active. GTK_STATE_FLAG_PRELIGHT Widget has a mouse pointer over it. GTK_STATE_FLAG_SELECTED Widget is selected. GTK_STATE_FLAG_INSENSITIVE Widget is insensitive. GTK_STATE_FLAG_INCONSISTENT Widget is inconsistent. GTK_STATE_FLAG_FOCUSED Widget has the keyboard focus. GTK_STATE_FLAG_BACKDROP Widget is in a background toplevel window. GTK_STATE_FLAG_DIR_LTR Widget is in left-to-right text direction. Since 3.8 GTK_STATE_FLAG_DIR_RTL Widget is in right-to-left text direction. Since 3.8

Values

ValueMeaning
NORMAL0
ACTIVE1 << 0
PRELIGHT1 << 1
SELECTED1 << 2
INSENSITIVE1 << 3
INCONSISTENT1 << 4
FOCUSED1 << 5
BACKDROP1 << 6
DIR_LTR1 << 7
DIR_RTL1 << 8

Meta