5.12 <GtkStateFlags>

Flags: <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.

Members

normal

State during normal operation

active

Widget is active

prelight

Widget has a mouse pointer over it

selected

Widget is selected

insensitive

Widget is insensitive

inconsistent

Widget is inconsistent

focused

Widget has the keyboard focus

backdrop

Widget is in a background toplevel window

dir-ltr

Widget is in left-to-right text direction

dir-rtl

Widget is in right-to-left text direction

link

Widget is a link

visited

The location the widget points to has already been visited

checked

Widget is checked

drop-active

Widget is highlighted as a drop target for DND

focus-visible

Widget has the visible focus

focus-within

Widget contains the keyboard focus