Enumeration (GI Flags)

Gtk-3.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. Since 3.14

DIR_LTR: 128

Widget is in left-to-right text direction. Since 3.8

DIR_RTL: 256

Widget is in right-to-left text direction. Since 3.8

DROP_ACTIVE: 4096

Widget is highlighted as a drop target for DND. Since 3.20

FOCUSED: 32

Widget has the keyboard focus.

INCONSISTENT: 16

Widget is inconsistent.

INSENSITIVE: 8

Widget is insensitive.

LINK: 512

Widget is a link. Since 3.12

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. Since 3.12

Variables

$gtype