113
The possible types of states of an object</p>
104
The possible types of states of an object
116
106
<div class="variablelist"><table border="0">
117
107
<col align="left" valign="top">
120
<td><p><a name="ATK-STATE-INVALID--CAPS"></a><span class="term"><code class="literal">ATK_STATE_INVALID</code></span></p></td>
121
<td> Indicates an invalid state - probably an error condition.
125
<td><p><a name="ATK-STATE-ACTIVE--CAPS"></a><span class="term"><code class="literal">ATK_STATE_ACTIVE</code></span></p></td>
126
<td> Indicates a window is currently the active window, or is an active subelement within a container or table
130
<td><p><a name="ATK-STATE-ARMED--CAPS"></a><span class="term"><code class="literal">ATK_STATE_ARMED</code></span></p></td>
131
<td> 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.
135
<td><p><a name="ATK-STATE-BUSY--CAPS"></a><span class="term"><code class="literal">ATK_STATE_BUSY</code></span></p></td>
136
<td> 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.
140
<td><p><a name="ATK-STATE-CHECKED--CAPS"></a><span class="term"><code class="literal">ATK_STATE_CHECKED</code></span></p></td>
141
<td> Indicates this object is currently checked, for instance a checkbox is 'non-empty'.
145
<td><p><a name="ATK-STATE-DEFUNCT--CAPS"></a><span class="term"><code class="literal">ATK_STATE_DEFUNCT</code></span></p></td>
146
<td> Indicates that this object no longer has a valid backing widget (for instance, if its peer object has been destroyed)
150
<td><p><a name="ATK-STATE-EDITABLE--CAPS"></a><span class="term"><code class="literal">ATK_STATE_EDITABLE</code></span></p></td>
151
<td> Indicates the user can change the contents of this object
155
<td><p><a name="ATK-STATE-ENABLED--CAPS"></a><span class="term"><code class="literal">ATK_STATE_ENABLED</code></span></p></td>
156
<td> 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
160
<td><p><a name="ATK-STATE-EXPANDABLE--CAPS"></a><span class="term"><code class="literal">ATK_STATE_EXPANDABLE</code></span></p></td>
161
<td> Indicates this object allows progressive disclosure of its children
165
<td><p><a name="ATK-STATE-EXPANDED--CAPS"></a><span class="term"><code class="literal">ATK_STATE_EXPANDED</code></span></p></td>
166
<td> Indicates this object its expanded - see ATK_STATE_EXPANDABLE above
170
<td><p><a name="ATK-STATE-FOCUSABLE--CAPS"></a><span class="term"><code class="literal">ATK_STATE_FOCUSABLE</code></span></p></td>
171
<td> 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
175
<td><p><a name="ATK-STATE-FOCUSED--CAPS"></a><span class="term"><code class="literal">ATK_STATE_FOCUSED</code></span></p></td>
176
<td> Indicates this object currently has the keyboard focus
180
<td><p><a name="ATK-STATE-HORIZONTAL--CAPS"></a><span class="term"><code class="literal">ATK_STATE_HORIZONTAL</code></span></p></td>
181
<td> 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.
185
<td><p><a name="ATK-STATE-ICONIFIED--CAPS"></a><span class="term"><code class="literal">ATK_STATE_ICONIFIED</code></span></p></td>
186
<td> Indicates this object is minimized and is represented only by an icon
190
<td><p><a name="ATK-STATE-MODAL--CAPS"></a><span class="term"><code class="literal">ATK_STATE_MODAL</code></span></p></td>
191
<td> Indicates something must be done with this object before the user can interact with an object in a different window
195
<td><p><a name="ATK-STATE-MULTI-LINE--CAPS"></a><span class="term"><code class="literal">ATK_STATE_MULTI_LINE</code></span></p></td>
196
<td> Indicates this (text) object can contain multiple lines of text
200
<td><p><a name="ATK-STATE-MULTISELECTABLE--CAPS"></a><span class="term"><code class="literal">ATK_STATE_MULTISELECTABLE</code></span></p></td>
201
<td> Indicates this object allows more than one of its children to be selected at the same time, or in the case of text objects, that the object supports non-contiguous text selections.
205
<td><p><a name="ATK-STATE-OPAQUE--CAPS"></a><span class="term"><code class="literal">ATK_STATE_OPAQUE</code></span></p></td>
206
<td> Indicates this object paints every pixel within its rectangular region.
210
<td><p><a name="ATK-STATE-PRESSED--CAPS"></a><span class="term"><code class="literal">ATK_STATE_PRESSED</code></span></p></td>
211
<td> Indicates this object is currently pressed; c.f. ATK_STATE_ARMED
215
<td><p><a name="ATK-STATE-RESIZABLE--CAPS"></a><span class="term"><code class="literal">ATK_STATE_RESIZABLE</code></span></p></td>
216
<td> Indicates the size of this object is not fixed
220
<td><p><a name="ATK-STATE-SELECTABLE--CAPS"></a><span class="term"><code class="literal">ATK_STATE_SELECTABLE</code></span></p></td>
221
<td> Indicates this object is the child of an object that allows its children to be selected and that this child is one of those children that can be selected
225
<td><p><a name="ATK-STATE-SELECTED--CAPS"></a><span class="term"><code class="literal">ATK_STATE_SELECTED</code></span></p></td>
226
<td> Indicates this object is the child of an object that allows its children to be selected and that this child is one of those children that has been selected
230
<td><p><a name="ATK-STATE-SENSITIVE--CAPS"></a><span class="term"><code class="literal">ATK_STATE_SENSITIVE</code></span></p></td>
231
<td> Indicates this object is sensitive, e.g. to user interaction.
110
<td><p><a name="ATK-STATE-INVALID:CAPS"></a><span class="term"><code class="literal">ATK_STATE_INVALID</code></span></p></td>
111
<td>Indicates an invalid state - probably an error condition.
115
<td><p><a name="ATK-STATE-ACTIVE:CAPS"></a><span class="term"><code class="literal">ATK_STATE_ACTIVE</code></span></p></td>
116
<td>Indicates a window is currently the active window, or is an active subelement within a container or table
120
<td><p><a name="ATK-STATE-ARMED:CAPS"></a><span class="term"><code class="literal">ATK_STATE_ARMED</code></span></p></td>
121
<td>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.
125
<td><p><a name="ATK-STATE-BUSY:CAPS"></a><span class="term"><code class="literal">ATK_STATE_BUSY</code></span></p></td>
126
<td>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.
130
<td><p><a name="ATK-STATE-CHECKED:CAPS"></a><span class="term"><code class="literal">ATK_STATE_CHECKED</code></span></p></td>
131
<td>Indicates this object is currently checked, for instance a checkbox is 'non-empty'.
135
<td><p><a name="ATK-STATE-DEFUNCT:CAPS"></a><span class="term"><code class="literal">ATK_STATE_DEFUNCT</code></span></p></td>
136
<td>Indicates that this object no longer has a valid backing widget (for instance, if its peer object has been destroyed)
140
<td><p><a name="ATK-STATE-EDITABLE:CAPS"></a><span class="term"><code class="literal">ATK_STATE_EDITABLE</code></span></p></td>
141
<td>Indicates the user can change the contents of this object
145
<td><p><a name="ATK-STATE-ENABLED:CAPS"></a><span class="term"><code class="literal">ATK_STATE_ENABLED</code></span></p></td>
146
<td>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
150
<td><p><a name="ATK-STATE-EXPANDABLE:CAPS"></a><span class="term"><code class="literal">ATK_STATE_EXPANDABLE</code></span></p></td>
151
<td>Indicates this object allows progressive disclosure of its children
155
<td><p><a name="ATK-STATE-EXPANDED:CAPS"></a><span class="term"><code class="literal">ATK_STATE_EXPANDED</code></span></p></td>
156
<td>Indicates this object its expanded - see ATK_STATE_EXPANDABLE above
160
<td><p><a name="ATK-STATE-FOCUSABLE:CAPS"></a><span class="term"><code class="literal">ATK_STATE_FOCUSABLE</code></span></p></td>
161
<td>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
165
<td><p><a name="ATK-STATE-FOCUSED:CAPS"></a><span class="term"><code class="literal">ATK_STATE_FOCUSED</code></span></p></td>
166
<td>Indicates this object currently has the keyboard focus
170
<td><p><a name="ATK-STATE-HORIZONTAL:CAPS"></a><span class="term"><code class="literal">ATK_STATE_HORIZONTAL</code></span></p></td>
171
<td>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.
175
<td><p><a name="ATK-STATE-ICONIFIED:CAPS"></a><span class="term"><code class="literal">ATK_STATE_ICONIFIED</code></span></p></td>
176
<td>Indicates this object is minimized and is represented only by an icon
180
<td><p><a name="ATK-STATE-MODAL:CAPS"></a><span class="term"><code class="literal">ATK_STATE_MODAL</code></span></p></td>
181
<td>Indicates something must be done with this object before the user can interact with an object in a different window
185
<td><p><a name="ATK-STATE-MULTI-LINE:CAPS"></a><span class="term"><code class="literal">ATK_STATE_MULTI_LINE</code></span></p></td>
186
<td>Indicates this (text) object can contain multiple lines of text
190
<td><p><a name="ATK-STATE-MULTISELECTABLE:CAPS"></a><span class="term"><code class="literal">ATK_STATE_MULTISELECTABLE</code></span></p></td>
191
<td>Indicates this object allows more than one of its children to be selected at the same time, or in the case of text objects, that the object supports non-contiguous text selections.
195
<td><p><a name="ATK-STATE-OPAQUE:CAPS"></a><span class="term"><code class="literal">ATK_STATE_OPAQUE</code></span></p></td>
196
<td>Indicates this object paints every pixel within its rectangular region.
200
<td><p><a name="ATK-STATE-PRESSED:CAPS"></a><span class="term"><code class="literal">ATK_STATE_PRESSED</code></span></p></td>
201
<td>Indicates this object is currently pressed; c.f. ATK_STATE_ARMED
205
<td><p><a name="ATK-STATE-RESIZABLE:CAPS"></a><span class="term"><code class="literal">ATK_STATE_RESIZABLE</code></span></p></td>
206
<td>Indicates the size of this object is not fixed
210
<td><p><a name="ATK-STATE-SELECTABLE:CAPS"></a><span class="term"><code class="literal">ATK_STATE_SELECTABLE</code></span></p></td>
211
<td>Indicates this object is the child of an object that allows its children to be selected and that this child is one of those children that can be selected
215
<td><p><a name="ATK-STATE-SELECTED:CAPS"></a><span class="term"><code class="literal">ATK_STATE_SELECTED</code></span></p></td>
216
<td>Indicates this object is the child of an object that allows its children to be selected and that this child is one of those children that has been selected
220
<td><p><a name="ATK-STATE-SENSITIVE:CAPS"></a><span class="term"><code class="literal">ATK_STATE_SENSITIVE</code></span></p></td>
221
<td>Indicates this object is sensitive, e.g. to user interaction.
232
222
STATE_SENSITIVE usually accompanies STATE_ENABLED for user-actionable controls,
233
223
but may be found in the absence of STATE_ENABLED if the current visible state of the
234
224
control is "disconnected" from the application state. In such cases, direct user interaction
262
<td><p><a name="ATK-STATE-TRANSIENT--CAPS"></a><span class="term"><code class="literal">ATK_STATE_TRANSIENT</code></span></p></td>
263
<td> Indicates this object is transient, i.e. a snapshot which may not emit events when its
252
<td><p><a name="ATK-STATE-TRANSIENT:CAPS"></a><span class="term"><code class="literal">ATK_STATE_TRANSIENT</code></span></p></td>
253
<td>Indicates this object is transient, i.e. a snapshot which may not emit events when its
264
254
state changes. Data from objects with ATK_STATE_TRANSIENT should not be cached, since there may be no
265
255
notification given when the cached data becomes obsolete.
269
<td><p><a name="ATK-STATE-VERTICAL--CAPS"></a><span class="term"><code class="literal">ATK_STATE_VERTICAL</code></span></p></td>
270
<td> Indicates the orientation of this object is vertical
274
<td><p><a name="ATK-STATE-VISIBLE--CAPS"></a><span class="term"><code class="literal">ATK_STATE_VISIBLE</code></span></p></td>
275
<td> Indicates this object is visible, e.g. has been explicitly marked for exposure to the user.
279
<td><p><a name="ATK-STATE-MANAGES-DESCENDANTS--CAPS"></a><span class="term"><code class="literal">ATK_STATE_MANAGES_DESCENDANTS</code></span></p></td>
280
<td> Indicates that "active-descendant-changed" event
259
<td><p><a name="ATK-STATE-VERTICAL:CAPS"></a><span class="term"><code class="literal">ATK_STATE_VERTICAL</code></span></p></td>
260
<td>Indicates the orientation of this object is vertical
264
<td><p><a name="ATK-STATE-VISIBLE:CAPS"></a><span class="term"><code class="literal">ATK_STATE_VISIBLE</code></span></p></td>
265
<td>Indicates this object is visible, e.g. has been explicitly marked for exposure to the user.
269
<td><p><a name="ATK-STATE-MANAGES-DESCENDANTS:CAPS"></a><span class="term"><code class="literal">ATK_STATE_MANAGES_DESCENDANTS</code></span></p></td>
270
<td>Indicates that "active-descendant-changed" event
281
271
is sent when children become 'active' (i.e. are selected or navigated to onscreen).
282
272
Used to prevent need to enumerate all children in very large containers, like tables.
283
273
The presence of STATE_MANAGES_DESCENDANTS is an indication to the client.
304
<td><p><a name="ATK-STATE-TRUNCATED--CAPS"></a><span class="term"><code class="literal">ATK_STATE_TRUNCATED</code></span></p></td>
305
<td> Indicates that an object is truncated, e.g. a text value in a speradsheet cell.
309
<td><p><a name="ATK-STATE-REQUIRED--CAPS"></a><span class="term"><code class="literal">ATK_STATE_REQUIRED</code></span></p></td>
310
<td> Indicates that explicit user interaction with an object is required by the user interface, e.g. a required field in a "web-form" interface.
314
<td><p><a name="ATK-STATE-INVALID-ENTRY--CAPS"></a><span class="term"><code class="literal">ATK_STATE_INVALID_ENTRY</code></span></p></td>
315
<td> 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.
319
<td><p><a name="ATK-STATE-SUPPORTS-AUTOCOMPLETION--CAPS"></a><span class="term"><code class="literal">ATK_STATE_SUPPORTS_AUTOCOMPLETION</code></span></p></td>
320
<td> Indicates that the object in question implements some form of ¨typeahead¨ or
294
<td><p><a name="ATK-STATE-TRUNCATED:CAPS"></a><span class="term"><code class="literal">ATK_STATE_TRUNCATED</code></span></p></td>
295
<td>Indicates that an object is truncated, e.g. a text value in a speradsheet cell.
299
<td><p><a name="ATK-STATE-REQUIRED:CAPS"></a><span class="term"><code class="literal">ATK_STATE_REQUIRED</code></span></p></td>
300
<td>Indicates that explicit user interaction with an object is required by the user interface, e.g. a required field in a "web-form" interface.
304
<td><p><a name="ATK-STATE-INVALID-ENTRY:CAPS"></a><span class="term"><code class="literal">ATK_STATE_INVALID_ENTRY</code></span></p></td>
305
<td>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.
309
<td><p><a name="ATK-STATE-SUPPORTS-AUTOCOMPLETION:CAPS"></a><span class="term"><code class="literal">ATK_STATE_SUPPORTS_AUTOCOMPLETION</code></span></p></td>
310
<td>Indicates that the object in question implements some form of ¨typeahead¨ or
321
311
pre-selection behavior whereby entering the first character of one or more sub-elements
322
312
causes those elements to scroll into view or become selected. Subsequent character input
323
313
may narrow the selection further as long as one or more sub-elements match the string.