summaryrefslogtreecommitdiff
path: root/docs/tmpl/atkobject.sgml
blob: 997708be6b55b7c25af14d712470dd35b53701db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
<!-- ##### SECTION Title ##### -->
AtkObject

<!-- ##### SECTION Short_Description ##### -->

The base object class for the Accessibility Toolkit API.

<!-- ##### SECTION Long_Description ##### -->
<para>
This class is the primary class for accessibility support via
the Accessibility ToolKit (ATK).  Objects which are instances
of #AtkObject (or instances of AtkObject-derived types) are
queried for properties which relate basic (and generic) properties of a
UI component such as name and description.  Instances of #AtkObject
may also be queried as to whether they implement other ATK interfaces
(e.g. #AtkAction, #AtkComponent, etc.), as appropriate to the role
which a given UI component plays in a user interface.
</para>
<para>All UI components in an application which provide useful
information or services to the user must provide corresponding
#AtkObject instances on request (in GTK+, for instance, usually
on a call to #gtk_widget_get_accessible ()), either via ATK support
built into the toolkit for the widget class or ancestor class, or in
the case of custom widgets, if the inherited #AtkObject implementation
is insufficient, via instances of a new #AtkObject subclass. 
</para>

<!-- ##### SECTION See_Also ##### -->
<para>
See also: #AtkObjectFactory, #AtkRegistry.
( GTK+ users see also #GtkAccessible).
</para>

<!-- ##### STRUCT AtkObject ##### -->
<para>
The AtkObject structure should not be accessed directly.

</para>


<!-- ##### ENUM AtkRole ##### -->
<para>
These are the built-in enumerated roles that UI components can have in
ATK.  Other roles may be added at runtime, so an AtkRole >=
ATK_ROLE_LAST_DEFINED is not necessarily an error.
</para>

@ATK_ROLE_INVALID: 
@ATK_ROLE_ACCEL_LABEL: 
@ATK_ROLE_ALERT: 
@ATK_ROLE_ANIMATION: 
@ATK_ROLE_ARROW: 
@ATK_ROLE_CALENDAR: 
@ATK_ROLE_CANVAS: 
@ATK_ROLE_CHECK_BOX: 
@ATK_ROLE_CHECK_MENU_ITEM: 
@ATK_ROLE_COLOR_CHOOSER: 
@ATK_ROLE_COLUMN_HEADER: 
@ATK_ROLE_COMBO_BOX: 
@ATK_ROLE_DATE_EDITOR: 
@ATK_ROLE_DESKTOP_ICON: 
@ATK_ROLE_DESKTOP_FRAME: 
@ATK_ROLE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
@ATK_ROLE_TREE: 
@ATK_ROLE_TREE_TABLE: 
@ATK_ROLE_UNKNOWN: 
@ATK_ROLE_VIEWPORT: 
@ATK_ROLE_WINDOW: 
@ATK_ROLE_LAST_DEFINED: 

<!-- ##### FUNCTION atk_role_register ##### -->
<para>

</para>

@name: 
@Returns: 


<!-- ##### ENUM AtkLayer ##### -->
<para>
These enumerated "layer values" are used when determining which UI
rendering layer a component is drawn into, which can help in making
determinations of when components occlude one another.
</para>

@ATK_LAYER_INVALID: 
@ATK_LAYER_BACKGROUND: 
@ATK_LAYER_CANVAS: 
@ATK_LAYER_WIDGET: 
@ATK_LAYER_MDI: 
@ATK_LAYER_POPUP: 
@ATK_LAYER_OVERLAY: 

<!-- ##### STRUCT AtkImplementor ##### -->
<para>
The AtkImplementor structure does not contain any fields.

</para>


<!-- ##### STRUCT AtkRelationSet ##### -->
<para>
The AtkRelationSet structure should not be accessed directly.

</para>


<!-- ##### STRUCT AtkPropertyValues ##### -->
<para>
The Atk PropertyValue structure is used when notifying a change in property.
Currently, the only property for which old_value is used is
accessible-state; for instance if there is a focus change the
property change handler will be called for the object which lost the focus
with the old_value containing the AtkState value corresponding to focused
and the property change handler will be called for the object which
received the focus with the new_value containing the AtkState value
corresponding to focused.

</para>

@property_name: 
@old_value: 
@new_value: 

<!-- ##### USER_FUNCTION AtkFunction ##### -->
<para>
An AtkFunction is a function definition used for padding which has been added 
to class and interface structures to allow for expansion in the future.

</para>

@data: 
@Returns: 


<!-- ##### USER_FUNCTION AtkPropertyChangeHandler ##### -->
<para>
An AtkPropertyChangeHandler is a function which is executed when an AtkObject's property changes value. It is specified in a call to 
atk_object_connect_property_change_handler().
</para>

@Param1: 
@Param2: 


<!-- ##### FUNCTION atk_implementor_ref_accessible ##### -->
<para>

</para>

@implementor: 
@Returns: 


<!-- ##### FUNCTION atk_object_get_name ##### -->
<para>

</para>

@accessible: 
@Returns: 


<!-- ##### FUNCTION atk_object_get_description ##### -->
<para>

</para>

@accessible: 
@Returns: 


<!-- ##### FUNCTION atk_object_get_parent ##### -->
<para>

</para>

@accessible: 
@Returns: 


<!-- ##### FUNCTION atk_object_get_n_accessible_children ##### -->
<para>

</para>

@accessible: 
@Returns: 


<!-- ##### FUNCTION atk_object_ref_accessible_child ##### -->
<para>

</para>

@accessible: 
@i: 
@Returns: 


<!-- ##### FUNCTION atk_object_ref_relation_set ##### -->
<para>

</para>

@accessible: 
@Returns: 


<!-- ##### FUNCTION atk_object_get_layer ##### -->
<para>

</para>

@accessible: 
@Returns: 


<!-- ##### FUNCTION atk_object_get_mdi_zorder ##### -->
<para>

</para>

@accessible: 
@Returns: 


<!-- ##### FUNCTION atk_object_get_role ##### -->
<para>

</para>

@accessible: 
@Returns: 


<!-- ##### FUNCTION atk_object_ref_state_set ##### -->
<para>

</para>

@accessible: 
@Returns: 


<!-- ##### FUNCTION atk_object_get_index_in_parent ##### -->
<para>

</para>

@accessible: 
@Returns: 


<!-- ##### FUNCTION atk_object_set_name ##### -->
<para>

</para>

@accessible: 
@name: 


<!-- ##### FUNCTION atk_object_set_description ##### -->
<para>

</para>

@accessible: 
@description: 


<!-- ##### FUNCTION atk_object_set_parent ##### -->
<para>

</para>

@accessible: 
@parent: 


<!-- ##### FUNCTION atk_object_set_role ##### -->
<para>

</para>

@accessible: 
@role: 


<!-- ##### FUNCTION atk_object_connect_property_change_handler ##### -->
<para>

</para>

@accessible: 
@handler: 
@Returns: 


<!-- ##### FUNCTION atk_object_remove_property_change_handler ##### -->
<para>

</para>

@accessible: 
@handler_id: 


<!-- ##### FUNCTION atk_object_notify_state_change ##### -->
<para>

</para>

@accessible: 
@state: 
@value: 


<!-- ##### FUNCTION atk_object_initialize ##### -->
<para>

</para>

@accessible: 
@data: 


<!-- ##### FUNCTION atk_role_get_name ##### -->
<para>

</para>

@role: 
@Returns: 


<!-- ##### FUNCTION atk_role_for_name ##### -->
<para>

</para>

@name: 
@Returns: 


<!-- ##### SIGNAL AtkObject::children-changed ##### -->
<para>
The children_changed signal supports two details, "add" and "remove" which
indicate whether a child was added or removed
</para>

@atkobject: the object which received the signal.
@arg1: The index of the added or removed child
@arg2: The child which was added or removed

<!-- ##### SIGNAL AtkObject::focus-event ##### -->
<para>

</para>

@atkobject: the object which received the signal.
@arg1: A boolean value which indicates whether or not the focus event is is or out.

<!-- ##### SIGNAL AtkObject::property-change ##### -->
<para>
This signal support a detail which identifies the property which has
changed.
</para>

@atkobject: the object which received the signal.
@arg1: The new value of the property which changed.

<!-- ##### SIGNAL AtkObject::state-change ##### -->
<para>
This signal support, which may be any of the accessible state types.
</para>

@atkobject: the object which received the signal.
@arg1: The name of the state which has changed
@arg2: A boolean which indicates whether the state has been set or unset.

<!-- ##### SIGNAL AtkObject::visible-data-changed ##### -->
<para>

</para>

@atkobject: the object which received the signal.

<!-- ##### ARG AtkObject:accessible-name ##### -->
<para>

</para>

<!-- ##### ARG AtkObject:accessible-description ##### -->
<para>

</para>

<!-- ##### ARG AtkObject:accessible-parent ##### -->
<para>

</para>

<!-- ##### ARG AtkObject:accessible-value ##### -->
<para>

</para>

<!-- ##### ARG AtkObject:accessible-role ##### -->
<para>

</para>

<!-- ##### ARG AtkObject:accessible-component-layer ##### -->
<para>

</para>

<!-- ##### ARG AtkObject:accessible-component-mdi-zorder ##### -->
<para>

</para>

<!-- ##### ARG AtkObject:accessible-table-caption ##### -->
<para>

</para>

<!-- ##### ARG AtkObject:accessible-table-column-description ##### -->
<para>

</para>

<!-- ##### ARG AtkObject:accessible-table-column-header ##### -->
<para>

</para>

<!-- ##### ARG AtkObject:accessible-table-row-description ##### -->
<para>

</para>

<!-- ##### ARG AtkObject:accessible-table-row-header ##### -->
<para>

</para>

<!-- ##### ARG AtkObject:accessible-table-summary ##### -->
<para>

</para>