AccessibleState

class AccessibleState

The possible accessible states of a Accessible.

Methods

class AccessibleState
init_value(state: AccessibleState, value: Any) None
Parameters:
  • state

  • value

Fields

class AccessibleState
BUSY

A “busy” state. This state has boolean values

CHECKED

A “checked” state; indicates the current state of a CheckButton. Value type: AccessibleTristate

DISABLED

A “disabled” state; corresponds to the sensitive property. It indicates a UI element that is perceivable, but not editable or operable. Value type: boolean

EXPANDED

An “expanded” state; corresponds to the expanded property. Value type: boolean or undefined

HIDDEN

A “hidden” state; corresponds to the visible property. You can use this state explicitly on UI elements that should not be exposed to an assistive technology. Value type: boolean See also: DISABLED

INVALID

An “invalid” state; set when a widget is showing an error. Value type: AccessibleInvalidState

PRESSED

A “pressed” state; indicates the current state of a ToggleButton. Value type: AccessibleTristate enumeration

SELECTED

A “selected” state; set when a widget is selected. Value type: boolean or undefined

VISITED

Indicates that a widget with the GTK_ACCESSIBLE_ROLE_LINK has been visited. Value type: boolean.

Added in version 4.12.