:right-sidebar: True StateFlags =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: StateFlags :no-contents-entry: 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. Fields ------ .. rst-class:: interim-class .. class:: StateFlags :no-index: .. attribute:: ACTIVE Widget is active .. attribute:: BACKDROP Widget is in a background toplevel window .. attribute:: CHECKED Widget is checked .. attribute:: DIR_LTR Widget is in left-to-right text direction .. attribute:: DIR_RTL Widget is in right-to-left text direction .. attribute:: DROP_ACTIVE Widget is highlighted as a drop target for DND .. attribute:: FOCUSED Widget has the keyboard focus .. attribute:: FOCUS_VISIBLE Widget has the visible focus .. attribute:: FOCUS_WITHIN Widget contains the keyboard focus .. attribute:: INCONSISTENT Widget is inconsistent .. attribute:: INSENSITIVE Widget is insensitive .. attribute:: LINK Widget is a link .. attribute:: NORMAL State during normal operation .. attribute:: PRELIGHT Widget has a mouse pointer over it .. attribute:: SELECTED Widget is selected .. attribute:: VISITED The location the widget points to has already been visited