Gjsify LogoGjsify Logo

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.

bitfield

Index

Enumeration Members

ACTIVE: number

Widget is active.

BACKDROP: number

Widget is in a background toplevel window.

CHECKED: number

Widget is checked. Since 3.14

DIR_LTR: number

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

DIR_RTL: number

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

DROP_ACTIVE: number

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

FOCUSED: number

Widget has the keyboard focus.

INCONSISTENT: number

Widget is inconsistent.

INSENSITIVE: number

Widget is insensitive.

LINK: number

Widget is a link. Since 3.12

NORMAL: number

State during normal operation.

PRELIGHT: number

Widget has a mouse pointer over it.

SELECTED: number

Widget is selected.

VISITED: number

The location the widget points to has already been visited. Since 3.12

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method