StateT package:gi-atk
The possible types of states of an object
Indicates a window is currently the active window, or an object is the
active subelement within a container or table. ATK_STATE_ACTIVE should
not be used for objects which have ATK_STATE_FOCUSABLE or
ATK_STATE_SELECTABLE: Those objects should use ATK_STATE_FOCUSED and
ATK_STATE_SELECTED respectively. ATK_STATE_ACTIVE is a means to
indicate that an object which is not focusable and not selectable is
the currently-active item within its parent container.
Indicates that the object changes its appearance dynamically as an
inherent part of its presentation. This state may come and go if an
object is only temporarily animated on the way to a 'final' onscreen
presentation. **note**: some applications, notably content viewers,
may not be able to detect all kinds of animated content. Therefore the
absence of this state should not be taken as definitive evidence that
the object's visual representation is static; this state is advisory.
Indicates that the object is 'armed', i.e. will be activated by if a
pointer button-release event occurs within its bounds. Buttons often
enter this state when a pointer click occurs within their bounds, as a
precursor to activation. ATK_STATE_ARMED has been deprecated since
ATK-2.16 and should not be used in newly-written code.
Indicates the current object is busy, i.e. onscreen representation is
in the process of changing, or the object is temporarily unavailable
for interaction due to activity already in progress. This state may be
used by implementors of Document to indicate that content loading is
underway. It also may indicate other 'pending' conditions; clients may
wish to interrogate this object when the ATK_STATE_BUSY flag is
removed.
Indicates this object has the potential to be checked, such as a
checkbox or toggle-able table cell. since: ATK-2.12
Indicates this object is currently checked, for instance a checkbox is
'non-empty'.
Indicates this object is collapsed. since: ATK-2.38
Indicates that the object is the "default" active component, i.e. the
object which is activated by an end-user press of the "Enter" or
"Return" key. Typically a "close" or "submit" button.
Indicates that this object no longer has a valid backing widget (for
instance, if its peer object has been destroyed)
Indicates that this object can contain text, and that the user can
change the textual contents of this object by editing those contents
directly. For an object which is expected to be editable due to its
type, but which cannot be edited due to the application or platform
preventing the user from doing so, that object's
StateSet
should lack ATK_STATE_EDITABLE and should contain ATK_STATE_READ_ONLY.
Indicates that this object is enabled, i.e. that it currently reflects
some application state. Objects that are "greyed out" may lack this
state, and may lack the STATE_SENSITIVE if direct user interaction
cannot cause them to acquire STATE_ENABLED. See also:
ATK_STATE_SENSITIVE
Indicates this object allows progressive disclosure of its children
Indicates this object its expanded - see ATK_STATE_EXPANDABLE above
Indicates this object can accept keyboard focus, which means all
events resulting from typing on the keyboard will normally be passed
to it when it has focus
Indicates this object currently has the keyboard focus
Indicates that the object has a popup context menu or sub-level menu
which may or may not be showing. This means that activation renders
conditional content. Note that ordinary tooltips are not considered
popups in this context. since: ATK-2.12
Indicates this object has a tooltip. since: ATK-2.16
Indicates the orientation of this object is horizontal; used, for
instance, by objects of ATK_ROLE_SCROLL_BAR. For objects where
vertical/horizontal orientation is especially meaningful.
Indicates this object is minimized and is represented only by an icon
Indicates that the value, or some other quantifiable property, of this
AtkObject cannot be fully determined. In the case of a large data set
in which the total number of items in that set is unknown (e.g. 1 of
999+), implementors should expose the currently-known set size (999)
along with this state. In the case of a check box, this state should
be used to indicate that the check box is a tri-state check box which
is currently neither checked nor unchecked.
Indicates an invalid state - probably an error condition.
Indicates that the object has encountered an error condition due to
failure of input validation. For instance, a form control may acquire
this state in response to invalid or malformed user input.
Not a valid state, used for finding end of enumeration
Indicates that "active-descendant-changed" event is sent when children
become 'active' (i.e. are selected or navigated to onscreen). Used to
prevent need to enumerate all children in very large containers, like
tables. The presence of STATE_MANAGES_DESCENDANTS is an indication to
the client. that the children should not, and need not, be enumerated
by the client. Objects implementing this state are expected to provide
relevant state notifications to listening clients, for instance
notifications of visibility changes and activation of their contained
child objects, without the client having previously requested
references to those children.