Enumeration (GI Flags)

Gtk-4.0GtkStateFlags

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.

Index
ACTIVE: 1

Widget is active

BACKDROP: 64

Widget is in a background toplevel window

CHECKED: 2048

Widget is checked

DIR_LTR: 128

Widget is in left-to-right text direction

DIR_RTL: 256

Widget is in right-to-left text direction

DROP_ACTIVE: 4096

Widget is highlighted as a drop target for DND

FOCUS_VISIBLE: 8192

Widget has the visible focus

FOCUS_WITHIN: 16384

Widget contains the keyboard focus

FOCUSED: 32

Widget has the keyboard focus

INCONSISTENT: 16

Widget is inconsistent

INSENSITIVE: 8

Widget is insensitive

LINK: 512

Widget is a link

NORMAL: 0

State during normal operation

PRELIGHT: 2

Widget has a mouse pointer over it

SELECTED: 4

Widget is selected

VISITED: 1024

The location the widget points to has already been visited

Variables

$gtype