1 <?xml version="1.0" encoding="UTF-8"?>
2 <node xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0" name="/node">
8 <tp:enum name="StateType" type="u">
9 <tp:enumvalue suffix="STATE_INVALID"/>
10 <tp:enumvalue suffix="STATE_ACTIVE" value="1">
12 Indicates a window is currently the active window, or is an active subelement within a container or table
15 <tp:enumvalue suffix="STATE_ARMED" value="2">
17 Indicates that the object is armed
20 <tp:enumvalue suffix="STATE_BUSY" value="3">
21 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
22 <p>Indicates the current object is busy, i.e. onscreen representation is in the process of changing, or
23 the object is temporarily unavailable for interaction due to activity already in progress.</p>
26 <tp:enumvalue suffix="STATE_CHECKED" value="4">
28 Indicates this object is currently checked
31 <tp:enumvalue suffix="STATE_COLLAPSED" value="5">
33 Indicates this object is collapsed
36 <tp:enumvalue suffix="STATE_DEFUNCT" value="6">
37 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
38 <p>Indicates that this object no longer has a valid backing widget
39 (for instance, if its peer object has been destroyed) </p>
42 <tp:enumvalue suffix="STATE_EDITABLE" value="7">
44 Indicates the user can change the contents of this object
47 <tp:enumvalue suffix="STATE_ENABLED" value="8">
48 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
49 <p>Indicates that this object is enabled, i.e. that it currently reflects some application state.
50 Objects that are "greyed out" may lack this state, and may lack the STATE_SENSITIVE if direct user
51 interaction cannot cause them to acquire STATE_ENABLED. @see STATE_SENSITIVE.</p>
54 <tp:enumvalue suffix="STATE_EXPANDABLE" value="9">
56 Indicates this object allows progressive disclosure of its children
59 <tp:enumvalue suffix="STATE_EXPANDED" value="10">
61 Indicates this object its expanded
64 <tp:enumvalue suffix="STATE_FOCUSABLE" value="11">
65 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
66 <p>Indicates this object can accept keyboard focus, which means all
67 events resulting from typing on the keyboard will normally be passed
68 to it when it has focus</p>
71 <tp:enumvalue suffix="STATE_FOCUSED" value="12">
73 Indicates this object currently has the keyboard focus
76 <tp:enumvalue suffix="STATE_HAS_TOOLTIP" value="13">
78 Indicates that the object has an associated tooltip
81 <tp:enumvalue suffix="STATE_HORIZONTAL" value="14">
83 Indicates the orientation of thsi object is horizontal
86 <tp:enumvalue suffix="STATE_ICONIFIED" value="15">
88 Indicates this object is minimized and is represented only by an icon
91 <tp:enumvalue suffix="STATE_MODAL" value="16">
92 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
93 <p>Indicates something must be done with this object before the user can
94 interact with an object in a different window.</p>
97 <tp:enumvalue suffix="STATE_MULTI_LINE" value="17">
99 Indicates this (text) object can contain multiple lines of text
102 <tp:enumvalue suffix="STATE_MULTISELECTABLE" value="18">
103 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
104 <p>Indicates this object allows more than one of its children to be
105 selected at the same time, or in the case of text objects,
106 that the object supports non-contiguous text selections.</p>
109 <tp:enumvalue suffix="STATE_OPAQUE" value="19">
110 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
111 <p>Indicates this object paints every pixel within its rectangular region.
112 It also indicates an alpha value of unity, if it supports alpha blending. </p>
115 <tp:enumvalue suffix="STATE_PRESSED" value="20">
117 Indicates this object is currently pressed
120 <tp:enumvalue suffix="STATE_RESIZABLE" value="21">
122 Indicates the size of this object's size is not fixed
125 <tp:enumvalue suffix="STATE_SELECTABLE" value="22">
126 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
127 <p>Indicates this object is the child of an object that allows its
128 children to be selected and that this child is one of those children
129 that can be selected.</p>
132 <tp:enumvalue suffix="STATE_SELECTED" value="23">
133 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
134 <p>Indicates this object is the child of an object that allows its
135 children to be selected and that this child is one of those children
136 that has been selected.</p>
139 <tp:enumvalue suffix="STATE_SENSITIVE" value="24">
140 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
141 <p>Indicates this object is sensitive, e.g. to user interaction.
142 STATE_SENSITIVE usually accompanies STATE_ENABLED for user-actionable controls,
143 but may be found in the absence of STATE_ENABLED if the current visible state of the
144 control is "disconnected" from the application state. In such cases, direct user interaction
145 can often result in the object gaining STATE_SENSITIVE, for instance if a user makes
146 an explicit selection using an object whose current state is ambiguous or undefined.
147 @see STATE_ENABLED, STATE_INDETERMINATE. </p>
150 <tp:enumvalue suffix="STATE_SHOWING" value="25">
151 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
152 <p>Indicates this object, the object's parent, the object's parent's
153 parent, and so on, are all 'shown' to the end-user, i.e.
154 subject to "exposure" if blocking or obscuring objects do not interpose
155 between this object and the top of the window stack.</p>
158 <tp:enumvalue suffix="STATE_SINGLE_LINE" value="26">
160 Indicates this (text) object can contain only a single line of text
163 <tp:enumvalue suffix="STATE_STALE" value="27">
164 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
165 <p>Indicates that the information returned for this object may no longer be
166 synchronized with the application state. This can occur if the object has STATE_TRANSIENT,
167 and can also occur towards the end of the object peer's lifecycle. </p>
170 <tp:enumvalue suffix="STATE_TRANSIENT" value="28">
172 Indicates this object is transient
175 <tp:enumvalue suffix="STATE_VERTICAL" value="29">
176 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
177 <p>Indicates the orientation of this object is vertical; for example this state may appear on
178 such objects as scrollbars, text objects (with vertical text flow), separators, etc.</p>
181 <tp:enumvalue suffix="STATE_VISIBLE" value="30">
182 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
183 <p>Indicates this object is visible, e.g. has been explicitly marked for exposure to the user.
184 @note: STATE_VISIBLE is no guarantee that the object is actually unobscured on the screen, only
185 that it is 'potentially' visible, barring obstruction, being scrolled or clipped out of the
186 field of view, or having an ancestor container that has not yet made visible.
187 A widget is potentially onscreen if it has both STATE_VISIBLE and STATE_SHOWING.
188 The absence of STATE_VISIBLE and STATE_SHOWING is semantically equivalent to saying
189 that an object is 'hidden'.</p>
192 <tp:enumvalue suffix="STATE_MANAGES_DESCENDANTS" value="31">
193 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
194 <p>Indicates that "active-descendant-changed" event is sent when children
195 become 'active' (i.e. are selected or navigated to onscreen). Used to
196 prevent need to enumerate all children in very large containers, like
197 tables. The presence of STATE_MANAGES_DESCENDANTS is an indication to the client.
198 that the children should not, and need not, be enumerated by the client.
199 Objects implementing this state are expected to provide relevant state
200 notifications to listening clients, for instance notifications of visibility
201 changes and activation of their contained child objects, without the client
202 having previously requested references to those children.</p>
205 <tp:enumvalue suffix="STATE_INDETERMINATE" value="32">
206 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
207 <p>Indicates that a check box or other boolean indicator is in a state other than
208 checked or not checked. This usually means that the boolean value reflected or
209 controlled by the object does not apply consistently to the entire current context.
210 For example, a checkbox for the "Bold" attribute of text may have STATE_INDETERMINATE
211 if the currently selected text contains a mixture of weight attributes.
212 In many cases interacting with a STATE_INDETERMINATE object will cause
213 the context's corresponding boolean attribute to be homogenized, whereupon the object
214 will lose STATE_INDETERMINATE and a corresponding state-changed event will be fired.</p>
217 <tp:enumvalue suffix="STATE_REQUIRED" value="33">
218 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
219 <p>Indicates that user interaction with this object is 'required' from the user,
220 for instance before completing the processing of a form.</p>
223 <tp:enumvalue suffix="STATE_TRUNCATED" value="34">
224 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
225 <p>Indicates that an object's onscreen content is truncated, e.g. a text value in a spreadsheet cell.
226 @since AT-SPI 1.7.0.</p>
229 <tp:enumvalue suffix="STATE_ANIMATED" value="35">
230 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
231 <p>Indicates this object's visual representation is dynamic, not static.
232 This state may be applied to an object during an animated 'effect' and
233 be removed from the object once its visual representation becomes static.
234 @note some applications, notably content viewers, may not be able to detect
235 all kinds of animated content. Therefore the absence of this state should not
236 be taken as definitive evidence that the object's visual representation is
237 static; this state is advisory. </p>
239 <p>@since AT-SPI 1.7.0</p>
242 <tp:enumvalue suffix="STATE_INVALID_ENTRY" value="36">
243 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
244 <p>This object has indicated an error condition due to failure of input
245 validation. For instance, a form control may acquire this state in response
246 to invalid or malformed user input. </p>
248 <p>@since AT-SPI 1.7.0 </p>
251 <tp:enumvalue suffix="STATE_SUPPORTS_AUTOCOMPLETION" value="37">
252 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
253 <p>This state indicates that the object in question implements some form of ¨typeahead¨ or
254 pre-selection behavior whereby entering the first character of one or more sub-elements
255 causes those elements to scroll into view or become selected. Subsequent character input
256 may narrow the selection further as long as one or more sub-elements match the string.
257 This state is normally only useful and encountered on objects that implement Selection.
258 In some cases the typeahead behavior may result in full or partial ¨completion¨ of
259 the data in the input field, in which case these input events may trigger text-changed
260 events from the source. </p>
262 <p>@since AT-SPI 1.7.0 </p>
265 <tp:enumvalue suffix="STATE_SELECTABLE_TEXT" value="38">
266 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
267 <p>This state indicates that the object in question supports text selection.
268 It should only be exposed on objects which implement the Text interface,
269 in order to distinguish this state from STATE_SELECTABLE, which infers that
270 the object in question is a selectable child of an object which implements
271 Selection. While similar, text selection and subelement selection are
272 distinct operations. </p>
274 <p>@since AT-SPI 1.7.0 </p>
277 <tp:enumvalue suffix="STATE_IS_DEFAULT" value="39">
278 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
279 <p>This state indicates that the object in question is the 'default' interaction object
280 in a dialog, i.e. the one that gets activated if the user presses "Enter" when the
281 dialog is initially posted. </p>
283 <p>@since AT-SPI 1.7.0 </p>
286 <tp:enumvalue suffix="STATE_VISITED" value="40">
287 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
288 <p>This state indicates that the object (typically a hyperlink)
289 has already been activated or invoked, with the result that some backing data
290 has been downloaded or rendered. </p>
292 <p>@since AT-SPI 1.7.1 </p>
295 <tp:enumvalue suffix="STATE_LAST_DEFINED" value="41">
296 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
297 <p>This value of the enumeration should not be used as a parameter, it indicates the number of
298 items in the StateType enumeration.</p>
302 <interface name="org.freedesktop.atspi.StateSet">
303 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
304 <p>The StateSet interface encapsulates a collection of state information.
305 It allows comparison of state information between object instances, and comparisons
306 of an object's state with some hypothetical collection of states.</p>
308 <method name="contains">
309 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
310 <p>Query a StateSet for a specific StateType.
311 @param state the StateType being queried for.</p>
313 <arg direction="in" name="state" type="u" tp:type="StateType"/>
314 <arg direction="out" type="b" tp:type="boolean">
316 \c TRUE if the StateSet contains StateType \a state.
322 Add a StateType to an existing StateSet, if not already present.
324 <arg direction="in" name="state" type="u" tp:type="StateType"/>
326 <method name="remove">
328 Remove a StateType to an existing StateSet, if it is present.
330 <arg direction="in" name="state" type="u" tp:type="StateType"/>
332 <method name="equals">
333 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
334 <p>Compare two statesets for equivalence.
335 @param tarStateSet the StateSet to be compared with this one.</p>
337 <arg direction="in" name="tarStateSet" type="o" tp:type="StateSet"/>
338 <arg direction="out" type="b" tp:type="boolean">
340 \c TRUE if the two StateSet objects are composed of the same StateTypes.
344 <method name="compare">
346 Compare two StateSet instances and obtain their differences.
348 <arg direction="in" name="compareState" type="o" tp:type="StateSet"/>
349 <arg direction="out" type="o" tp:type="StateSet">
351 a 'difference set', i.e. a StateSet consisting of those states not shared by the two sets being compared.
355 <method name="isEmpty">
356 <arg direction="out" type="b" tp:type="boolean">
358 \c TRUE if the StateSet contains no states.
362 <method name="getStates">
363 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
367 <arg direction="out" type="au" tp:type="StateSeq"/>
369 <method name="unImplemented">
370 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
371 <p>unImplemented: </p>
373 <p>placeholders for future expansion.</p>
376 <method name="unImplemented2">
378 <method name="unImplemented3">
380 <method name="unImplemented4">