:right-sidebar: True AccessibleState =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: AccessibleState :no-contents-entry: The possible accessible states of a :obj:`~gi.repository.Gtk.Accessible`. Methods ------- .. rst-class:: interim-class .. class:: AccessibleState :no-index: .. method:: init_value(state: ~gi.repository.Gtk.AccessibleState, value: ~typing.Any) -> None :param state: :param value: Fields ------ .. rst-class:: interim-class .. class:: AccessibleState :no-index: .. attribute:: BUSY A “busy” state. This state has boolean values .. attribute:: CHECKED A “checked” state; indicates the current state of a :obj:`~gi.repository.Gtk.CheckButton`. Value type: :obj:`~gi.repository.Gtk.AccessibleTristate` .. attribute:: DISABLED A “disabled” state; corresponds to the :obj:`~gi.repository.Gtk.Widget.props.sensitive` property. It indicates a UI element that is perceivable, but not editable or operable. Value type: boolean .. attribute:: EXPANDED An “expanded” state; corresponds to the :obj:`~gi.repository.Gtk.Expander.props.expanded` property. Value type: boolean or undefined .. attribute:: HIDDEN A “hidden” state; corresponds to the :obj:`~gi.repository.Gtk.Widget.props.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: :const:`~gi.repository.Gtk.AccessibleState.DISABLED` .. attribute:: INVALID An “invalid” state; set when a widget is showing an error. Value type: :obj:`~gi.repository.Gtk.AccessibleInvalidState` .. attribute:: PRESSED A “pressed” state; indicates the current state of a :obj:`~gi.repository.Gtk.ToggleButton`. Value type: :obj:`~gi.repository.Gtk.AccessibleTristate` enumeration .. attribute:: SELECTED A “selected” state; set when a widget is selected. Value type: boolean or undefined .. attribute:: VISITED Indicates that a widget with the GTK_ACCESSIBLE_ROLE_LINK has been visited. Value type: boolean. .. versionadded:: 4.12