Debian Codegraph @

atk/src/atk_docs.xml

raw
1 <root>
2 <signal name="AtkComponent::bounds-changed">
3 <description>
4 The 'bounds-changed&quot; signal is emitted when the bposition or
5 size of the component changes.
6
7 </description>
8 <parameters>
9 <parameter name="atkcomponent">
10 <parameter_description> the object which received the signal.
11 </parameter_description>
12 </parameter>
13 <parameter name="arg1">
14 <parameter_description> The AtkRectangle giving the new position and size.
15 </parameter_description>
16 </parameter>
17 </parameters>
18 <return></return>
19 </signal>
20
21 <enum name="AtkCoordType">
22 <description>
23 Specifies how xy coordinates are to be interpreted. Used by functions such
24 as atk_component_get_position() and atk_text_get_character_extents()
25
26 </description>
27 <parameters>
28 <parameter name="ATK_XY_SCREEN">
29 <parameter_description> specifies xy coordinates relative to the screen
30 </parameter_description>
31 </parameter>
32 <parameter name="ATK_XY_WINDOW">
33 <parameter_description> specifies xy coordinates relative to the widget's
34 top-level window
35 </parameter_description>
36 </parameter>
37 </parameters>
38 </enum>
39
40 <signal name="AtkDocument::load-complete">
41 <description>
42 The 'load-complete' signal is emitted when a pending load of
43 a static document has completed. This signal is to be
44 expected by ATK clients if and when AtkDocument implementors
45 expose ATK_STATE_BUSY. If the state of an AtkObject which
46 implements AtkDocument does not include ATK_STATE_BUSY, it
47 should be safe for clients to assume that the AtkDocument's
48 static contents are fully loaded into the container.
49 (Dynamic document contents should be exposed via other
50 signals.)
51
52 </description>
53 <parameters>
54 <parameter name="atkdocument">
55 <parameter_description> the object which received the signal.
56 </parameter_description>
57 </parameter>
58 </parameters>
59 <return></return>
60 </signal>
61
62 <signal name="AtkDocument::load-stopped">
63 <description>
64 The 'load-stopped' signal is emitted when a pending load of
65 document contents is cancelled, paused, or otherwise
66 interrupted by the user or application logic. It should not
67 however be emitted while waiting for a resource (for instance
68 while blocking on a file or network read) unless a
69 user-significant timeout has occurred.
70
71 </description>
72 <parameters>
73 <parameter name="atkdocument">
74 <parameter_description> the object which received the signal.
75 </parameter_description>
76 </parameter>
77 </parameters>
78 <return></return>
79 </signal>
80
81 <signal name="AtkDocument::page-changed">
82 <description>
83 The 'page-changed' signal is emitted when the current page of
84 a document changes, e.g. pressing page up/down in a document
85 viewer.
86
87 Since: 2.12
88
89 </description>
90 <parameters>
91 <parameter name="atkdocument">
92 <parameter_description> the object on which the signal was emitted
93 </parameter_description>
94 </parameter>
95 <parameter name="page_number">
96 <parameter_description> the new page number. If this value is unknown
97 or not applicable, -1 should be provided.
98 </parameter_description>
99 </parameter>
100 </parameters>
101 <return></return>
102 </signal>
103
104 <signal name="AtkDocument::reload">
105 <description>
106 The 'reload' signal is emitted when the contents of a
107 document is refreshed from its source. Once 'reload' has
108 been emitted, a matching 'load-complete' or 'load-stopped'
109 signal should follow, which clients may await before
110 interrogating ATK for the latest document content.
111
112 </description>
113 <parameters>
114 <parameter name="atkdocument">
115 <parameter_description> the object which received the signal.
116 </parameter_description>
117 </parameter>
118 </parameters>
119 <return></return>
120 </signal>
121
122 <signal name="AtkHyperlink::link-activated">
123 <description>
124 The signal link-activated is emitted when a link is activated.
125
126 </description>
127 <parameters>
128 <parameter name="atkhyperlink">
129 <parameter_description> the object which received the signal.
130 </parameter_description>
131 </parameter>
132 </parameters>
133 <return></return>
134 </signal>
135
136 <enum name="AtkHyperlinkStateFlags">
137 <description>
138 Describes the type of link
139
140 </description>
141 <parameters>
142 <parameter name="ATK_HYPERLINK_IS_INLINE">
143 <parameter_description> Link is inline
144 </parameter_description>
145 </parameter>
146 </parameters>
147 </enum>
148
149 <signal name="AtkHypertext::link-selected">
150 <description>
151 The &quot;link-selected&quot; signal is emitted by an AtkHyperText
152 object when one of the hyperlinks associated with the object
153 is selected.
154
155 </description>
156 <parameters>
157 <parameter name="atkhypertext">
158 <parameter_description> the object which received the signal.
159 </parameter_description>
160 </parameter>
161 <parameter name="arg1">
162 <parameter_description> the index of the hyperlink which is selected
163 </parameter_description>
164 </parameter>
165 </parameters>
166 <return></return>
167 </signal>
168
169 <enum name="AtkKeyEventType">
170 <description>
171 Specifies the type of a keyboard evemt.
172
173 </description>
174 <parameters>
175 <parameter name="ATK_KEY_EVENT_PRESS">
176 <parameter_description> specifies a key press event
177 </parameter_description>
178 </parameter>
179 <parameter name="ATK_KEY_EVENT_RELEASE">
180 <parameter_description> specifies a key release event
181 </parameter_description>
182 </parameter>
183 <parameter name="ATK_KEY_EVENT_LAST_DEFINED">
184 <parameter_description> Not a valid value; specifies end of enumeration
185 </parameter_description>
186 </parameter>
187 </parameters>
188 </enum>
189
190 <enum name="AtkLayer">
191 <description>
192 Describes the layer of a component
193
194 These enumerated &quot;layer values&quot; are used when determining which UI
195 rendering layer a component is drawn into, which can help in making
196 determinations of when components occlude one another.
197
198 </description>
199 <parameters>
200 <parameter name="ATK_LAYER_INVALID">
201 <parameter_description> The object does not have a layer
202 </parameter_description>
203 </parameter>
204 <parameter name="ATK_LAYER_BACKGROUND">
205 <parameter_description> This layer is reserved for the desktop background
206 </parameter_description>
207 </parameter>
208 <parameter name="ATK_LAYER_CANVAS">
209 <parameter_description> This layer is used for Canvas components
210 </parameter_description>
211 </parameter>
212 <parameter name="ATK_LAYER_WIDGET">
213 <parameter_description> This layer is normally used for components
214 </parameter_description>
215 </parameter>
216 <parameter name="ATK_LAYER_MDI">
217 <parameter_description> This layer is used for layered components
218 </parameter_description>
219 </parameter>
220 <parameter name="ATK_LAYER_POPUP">
221 <parameter_description> This layer is used for popup components, such as menus
222 </parameter_description>
223 </parameter>
224 <parameter name="ATK_LAYER_OVERLAY">
225 <parameter_description> This layer is reserved for future use.
226 </parameter_description>
227 </parameter>
228 <parameter name="ATK_LAYER_WINDOW">
229 <parameter_description> This layer is used for toplevel windows.
230 </parameter_description>
231 </parameter>
232 </parameters>
233 </enum>
234
235 <signal name="AtkObject::active-descendant-changed">
236 <description>
237 The &quot;active-descendant-changed&quot; signal is emitted by an object
238 which has the state ATK_STATE_MANAGES_DESCENDANTS when the focus
239 object in the object changes. For instance, a table will emit the
240 signal when the cell in the table which has focus changes.
241
242 </description>
243 <parameters>
244 <parameter name="atkobject">
245 <parameter_description> the object which received the signal.
246 </parameter_description>
247 </parameter>
248 <parameter name="arg1">
249 <parameter_description> the newly focused object.
250 </parameter_description>
251 </parameter>
252 </parameters>
253 <return></return>
254 </signal>
255
256 <signal name="AtkObject::children-changed">
257 <description>
258 The signal &quot;children-changed&quot; is emitted when a child is added or
259 removed form an object. It supports two details: &quot;add&quot; and
260 &quot;remove&quot;
261
262 </description>
263 <parameters>
264 <parameter name="atkobject">
265 <parameter_description> the object which received the signal.
266 </parameter_description>
267 </parameter>
268 <parameter name="arg1">
269 <parameter_description> The index of the added or removed child. The value can be
270 -1. This is used if the value is not known by the implementor
271 when the child is added/removed or irrelevant.
272 </parameter_description>
273 </parameter>
274 <parameter name="arg2">
275 <parameter_description> A gpointer to the child AtkObject which was added or
276 removed. If the child was removed, it is possible that it is not
277 available for the implementor. In that case this pointer can be
278 NULL.
279 </parameter_description>
280 </parameter>
281 </parameters>
282 <return></return>
283 </signal>
284
285 <signal name="AtkObject::focus-event">
286 <description>
287 The signal &quot;focus-event&quot; is emitted when an object gained or lost
288 focus.
289
290 Deprecated: 2.9.4: Use the #AtkObject::state-change signal instead.
291
292 </description>
293 <parameters>
294 <parameter name="atkobject">
295 <parameter_description> the object which received the signal
296 </parameter_description>
297 </parameter>
298 <parameter name="arg1">
299 <parameter_description> a boolean value which indicates whether the object gained
300 or lost focus.
301 </parameter_description>
302 </parameter>
303 </parameters>
304 <return></return>
305 </signal>
306
307 <signal name="AtkObject::property-change">
308 <description>
309 The signal &quot;property-change&quot; is emitted when an object's property
310 value changes. @arg1 contains an #AtkPropertyValues with the name
311 and the new value of the property whose value has changed. Note
312 that, as with GObject notify, getting this signal does not
313 guarantee that the value of the property has actually changed; it
314 may also be emitted when the setter of the property is called to
315 reinstate the previous value.
316
317 Toolkit implementor note: ATK implementors should use
318 g_object_notify() to emit property-changed
319 notifications. #AtkObject::property-changed is needed by the
320 implementation of atk_add_global_event_listener() because GObject
321 notify doesn't support emission hooks.
322
323 </description>
324 <parameters>
325 <parameter name="atkobject">
326 <parameter_description> the object which received the signal.
327 </parameter_description>
328 </parameter>
329 <parameter name="arg1">
330 <parameter_description> an #AtkPropertyValues containing the new value of the
331 property which changed.
332 </parameter_description>
333 </parameter>
334 </parameters>
335 <return></return>
336 </signal>
337
338 <signal name="AtkObject::state-change">
339 <description>
340 The &quot;state-change&quot; signal is emitted when an object's state
341 changes. The detail value identifies the state type which has
342 changed.
343
344 </description>
345 <parameters>
346 <parameter name="atkobject">
347 <parameter_description> the object which received the signal.
348 </parameter_description>
349 </parameter>
350 <parameter name="arg1">
351 <parameter_description> The name of the state which has changed
352 </parameter_description>
353 </parameter>
354 <parameter name="arg2">
355 <parameter_description> A boolean which indicates whether the state has been set or unset.
356 </parameter_description>
357 </parameter>
358 </parameters>
359 <return></return>
360 </signal>
361
362 <signal name="AtkObject::visible-data-changed">
363 <description>
364 The &quot;visible-data-changed&quot; signal is emitted when the visual
365 appearance of the object changed.
366
367 </description>
368 <parameters>
369 <parameter name="atkobject">
370 <parameter_description> the object which received the signal.
371 </parameter_description>
372 </parameter>
373 </parameters>
374 <return></return>
375 </signal>
376
377 <enum name="AtkRelationType">
378 <description>
379 Describes the type of the relation
380
381 </description>
382 <parameters>
383 <parameter name="ATK_RELATION_NULL">
384 <parameter_description> Not used, represens &quot;no relationship&quot; or an error condition.
385 </parameter_description>
386 </parameter>
387 <parameter name="ATK_RELATION_CONTROLLED_BY">
388 <parameter_description> Indicates an object controlled by one or more target objects.
389 </parameter_description>
390 </parameter>
391 <parameter name="ATK_RELATION_CONTROLLER_FOR">
392 <parameter_description> Indicates an object is an controller for one or more target objects.
393 </parameter_description>
394 </parameter>
395 <parameter name="ATK_RELATION_LABEL_FOR">
396 <parameter_description> Indicates an object is a label for one or more target objects.
397 </parameter_description>
398 </parameter>
399 <parameter name="ATK_RELATION_LABELLED_BY">
400 <parameter_description> Indicates an object is labelled by one or more target objects.
401 </parameter_description>
402 </parameter>
403 <parameter name="ATK_RELATION_MEMBER_OF">
404 <parameter_description> Indicates an object is a member of a group of one or more target objects.
405 </parameter_description>
406 </parameter>
407 <parameter name="ATK_RELATION_NODE_CHILD_OF">
408 <parameter_description> Indicates an object is a cell in a treetable which is displayed because a cell in the same column is expanded and identifies that cell.
409 </parameter_description>
410 </parameter>
411 <parameter name="ATK_RELATION_FLOWS_TO">
412 <parameter_description> Indicates that the object has content that flows logically to another
413 AtkObject in a sequential way, (for instance text-flow).
414 </parameter_description>
415 </parameter>
416 <parameter name="ATK_RELATION_FLOWS_FROM">
417 <parameter_description> Indicates that the object has content that flows logically from
418 another AtkObject in a sequential way, (for instance text-flow).
419 </parameter_description>
420 </parameter>
421 <parameter name="ATK_RELATION_SUBWINDOW_OF">
422 <parameter_description> Indicates a subwindow attached to a component but otherwise has no connection in the UI heirarchy to that component.
423 </parameter_description>
424 </parameter>
425 <parameter name="ATK_RELATION_EMBEDS">
426 <parameter_description> Indicates that the object visually embeds
427 another object's content, i.e. this object's content flows around
428 another's content.
429 </parameter_description>
430 </parameter>
431 <parameter name="ATK_RELATION_EMBEDDED_BY">
432 <parameter_description> Inverse of %ATK_RELATION_EMBEDS, indicates that
433 this object's content is visualy embedded in another object.
434 </parameter_description>
435 </parameter>
436 <parameter name="ATK_RELATION_POPUP_FOR">
437 <parameter_description> Indicates that an object is a popup for another object.
438 </parameter_description>
439 </parameter>
440 <parameter name="ATK_RELATION_PARENT_WINDOW_OF">
441 <parameter_description> Indicates that an object is a parent window of another object.
442 </parameter_description>
443 </parameter>
444 <parameter name="ATK_RELATION_DESCRIBED_BY">
445 <parameter_description> Indicates that another object provides descriptive information about this object; more verbose than ATK_RELATION_LABELLED_BY.
446 </parameter_description>
447 </parameter>
448 <parameter name="ATK_RELATION_DESCRIPTION_FOR">
449 <parameter_description> Indicates that an object provides descriptive information about another object; more verbose than ATK_RELATION_LABEL_FOR.
450 </parameter_description>
451 </parameter>
452 <parameter name="ATK_RELATION_NODE_PARENT_OF">
453 <parameter_description> Indicates an object is a cell in a treetable and is expanded to display other cells in the same column.
454 </parameter_description>
455 </parameter>
456 <parameter name="ATK_RELATION_LAST_DEFINED">
457 <parameter_description> Not used, this value indicates the end of the enumeration.
458 </parameter_description>
459 </parameter>
460 </parameters>
461 </enum>
462
463 <signal name="AtkSelection::selection-changed">
464 <description>
465 The &quot;selection-changed&quot; signal is emitted by an object which
466 implements AtkSelection interface when the selection changes.
467
468 </description>
469 <parameters>
470 <parameter name="atkselection">
471 <parameter_description> the object which received the signal.
472 </parameter_description>
473 </parameter>
474 </parameters>
475 <return></return>
476 </signal>
477
478 <signal name="AtkTable::column-deleted">
479 <description>
480 The &quot;column-deleted&quot; signal is emitted by an object which
481 implements the AtkTable interface when a column is deleted.
482
483 </description>
484 <parameters>
485 <parameter name="atktable">
486 <parameter_description> the object which received the signal.
487 </parameter_description>
488 </parameter>
489 <parameter name="arg1">
490 <parameter_description> The index of the first column deleted.
491 </parameter_description>
492 </parameter>
493 <parameter name="arg2">
494 <parameter_description> The number of columns deleted.
495 </parameter_description>
496 </parameter>
497 </parameters>
498 <return></return>
499 </signal>
500
501 <signal name="AtkTable::column-inserted">
502 <description>
503 The &quot;column-inserted&quot; signal is emitted by an object which
504 implements the AtkTable interface when a column is inserted.
505
506 </description>
507 <parameters>
508 <parameter name="atktable">
509 <parameter_description> the object which received the signal.
510 </parameter_description>
511 </parameter>
512 <parameter name="arg1">
513 <parameter_description> The index of the column inserted.
514 </parameter_description>
515 </parameter>
516 <parameter name="arg2">
517 <parameter_description> The number of colums inserted.
518 </parameter_description>
519 </parameter>
520 </parameters>
521 <return></return>
522 </signal>
523
524 <signal name="AtkTable::column-reordered">
525 <description>
526 The &quot;column-reordered&quot; signal is emitted by an object which
527 implements the AtkTable interface when the columns are
528 reordered.
529
530 </description>
531 <parameters>
532 <parameter name="atktable">
533 <parameter_description> the object which received the signal.
534 </parameter_description>
535 </parameter>
536 </parameters>
537 <return></return>
538 </signal>
539
540 <signal name="AtkTable::model-changed">
541 <description>
542 The &quot;model-changed&quot; signal is emitted by an object which
543 implements the AtkTable interface when the model displayed by
544 the table changes.
545
546 </description>
547 <parameters>
548 <parameter name="atktable">
549 <parameter_description> the object which received the signal.
550 </parameter_description>
551 </parameter>
552 </parameters>
553 <return></return>
554 </signal>
555
556 <signal name="AtkTable::row-deleted">
557 <description>
558 The &quot;row-deleted&quot; signal is emitted by an object which
559 implements the AtkTable interface when a row is deleted.
560
561 </description>
562 <parameters>
563 <parameter name="atktable">
564 <parameter_description> the object which received the signal.
565 </parameter_description>
566 </parameter>
567 <parameter name="arg1">
568 <parameter_description> The index of the first row deleted.
569 </parameter_description>
570 </parameter>
571 <parameter name="arg2">
572 <parameter_description> The number of rows deleted.
573 </parameter_description>
574 </parameter>
575 </parameters>
576 <return></return>
577 </signal>
578
579 <signal name="AtkTable::row-inserted">
580 <description>
581 The &quot;row-inserted&quot; signal is emitted by an object which
582 implements the AtkTable interface when a row is inserted.
583
584 </description>
585 <parameters>
586 <parameter name="atktable">
587 <parameter_description> the object which received the signal.
588 </parameter_description>
589 </parameter>
590 <parameter name="arg1">
591 <parameter_description> The index of the first row inserted.
592 </parameter_description>
593 </parameter>
594 <parameter name="arg2">
595 <parameter_description> The number of rows inserted.
596 </parameter_description>
597 </parameter>
598 </parameters>
599 <return></return>
600 </signal>
601
602 <signal name="AtkTable::row-reordered">
603 <description>
604 The &quot;row-reordered&quot; signal is emitted by an object which
605 implements the AtkTable interface when the rows are
606 reordered.
607
608 </description>
609 <parameters>
610 <parameter name="atktable">
611 <parameter_description> the object which received the signal.
612 </parameter_description>
613 </parameter>
614 </parameters>
615 <return></return>
616 </signal>
617
618 <signal name="AtkText::text-attributes-changed">
619 <description>
620 The &quot;text-attributes-changed&quot; signal is emitted when the text
621 attributes of the text of an object which implements AtkText
622 changes.
623
624 </description>
625 <parameters>
626 <parameter name="atktext">
627 <parameter_description> the object which received the signal.
628 </parameter_description>
629 </parameter>
630 </parameters>
631 <return></return>
632 </signal>
633
634 <signal name="AtkText::text-caret-moved">
635 <description>
636 The &quot;text-caret-moved&quot; signal is emitted when the caret
637 position of the text of an object which implements AtkText
638 changes.
639
640 </description>
641 <parameters>
642 <parameter name="atktext">
643 <parameter_description> the object which received the signal.
644 </parameter_description>
645 </parameter>
646 <parameter name="arg1">
647 <parameter_description> The new position of the text caret.
648 </parameter_description>
649 </parameter>
650 </parameters>
651 <return></return>
652 </signal>
653
654 <signal name="AtkText::text-changed">
655 <description>
656 The &quot;text-changed&quot; signal is emitted when the text of the
657 object which implements the AtkText interface changes, This
658 signal will have a detail which is either &quot;insert&quot; or
659 &quot;delete&quot; which identifies whether the text change was an
660 insertion or a deletion.
661
662 Deprecated: 2.9.4: Use #AtkObject::text-insert or
663 #AtkObject::text-remove instead.
664
665 </description>
666 <parameters>
667 <parameter name="atktext">
668 <parameter_description> the object which received the signal.
669 </parameter_description>
670 </parameter>
671 <parameter name="arg1">
672 <parameter_description> The position (character offset) of the insertion or deletion.
673 </parameter_description>
674 </parameter>
675 <parameter name="arg2">
676 <parameter_description> The length (in characters) of text inserted or deleted.
677 </parameter_description>
678 </parameter>
679 </parameters>
680 <return></return>
681 </signal>
682
683 <signal name="AtkText::text-insert">
684 <description>
685 The &quot;text-insert&quot; signal is emitted when a new text is
686 inserted. If the signal was not triggered by the user
687 (e.g. typing or pasting text), the &quot;system&quot; detail should be
688 included.
689
690 </description>
691 <parameters>
692 <parameter name="atktext">
693 <parameter_description> the object which received the signal.
694 </parameter_description>
695 </parameter>
696 <parameter name="arg1">
697 <parameter_description> The position (character offset) of the insertion.
698 </parameter_description>
699 </parameter>
700 <parameter name="arg2">
701 <parameter_description> The length (in characters) of text inserted.
702 </parameter_description>
703 </parameter>
704 <parameter name="arg3">
705 <parameter_description> The new text inserted
706 </parameter_description>
707 </parameter>
708 </parameters>
709 <return></return>
710 </signal>
711
712 <signal name="AtkText::text-remove">
713 <description>
714 The &quot;text-remove&quot; signal is emitted when a new text is
715 removed. If the signal was not triggered by the user
716 (e.g. typing or pasting text), the &quot;system&quot; detail should be
717 included.
718
719 </description>
720 <parameters>
721 <parameter name="atktext">
722 <parameter_description> the object which received the signal.
723 </parameter_description>
724 </parameter>
725 <parameter name="arg1">
726 <parameter_description> The position (character offset) of the removal.
727 </parameter_description>
728 </parameter>
729 <parameter name="arg2">
730 <parameter_description> The length (in characters) of text removed.
731 </parameter_description>
732 </parameter>
733 <parameter name="arg3">
734 <parameter_description> The old text removed
735 </parameter_description>
736 </parameter>
737 </parameters>
738 <return></return>
739 </signal>
740
741 <signal name="AtkText::text-selection-changed">
742 <description>
743 The &quot;text-selection-changed&quot; signal is emitted when the
744 selected text of an object which implements AtkText changes.
745
746 </description>
747 <parameters>
748 <parameter name="atktext">
749 <parameter_description> the object which received the signal.
750 </parameter_description>
751 </parameter>
752 </parameters>
753 <return></return>
754 </signal>
755
756 <enum name="AtkTextAttribute">
757 <description>
758 Describes the text attributes supported
759
760 </description>
761 <parameters>
762 <parameter name="ATK_TEXT_ATTR_INVALID">
763 <parameter_description> Invalid attribute, like bad spelling or grammar.
764 </parameter_description>
765 </parameter>
766 <parameter name="ATK_TEXT_ATTR_LEFT_MARGIN">
767 <parameter_description> The pixel width of the left margin
768 </parameter_description>
769 </parameter>
770 <parameter name="ATK_TEXT_ATTR_RIGHT_MARGIN">
771 <parameter_description> The pixel width of the right margin
772 </parameter_description>
773 </parameter>
774 <parameter name="ATK_TEXT_ATTR_INDENT">
775 <parameter_description> The number of pixels that the text is indented
776 </parameter_description>
777 </parameter>
778 <parameter name="ATK_TEXT_ATTR_INVISIBLE">
779 <parameter_description> Either &quot;true&quot; or &quot;false&quot; indicating whether text is visible or not
780 </parameter_description>
781 </parameter>
782 <parameter name="ATK_TEXT_ATTR_EDITABLE">
783 <parameter_description> Either &quot;true&quot; or &quot;false&quot; indicating whether text is editable or not
784 </parameter_description>
785 </parameter>
786 <parameter name="ATK_TEXT_ATTR_PIXELS_ABOVE_LINES">
787 <parameter_description> Pixels of blank space to leave above each newline-terminated line.
788 </parameter_description>
789 </parameter>
790 <parameter name="ATK_TEXT_ATTR_PIXELS_BELOW_LINES">
791 <parameter_description> Pixels of blank space to leave below each newline-terminated line.
792 </parameter_description>
793 </parameter>
794 <parameter name="ATK_TEXT_ATTR_PIXELS_INSIDE_WRAP">
795 <parameter_description> Pixels of blank space to leave between wrapped lines inside the same newline-terminated line (paragraph).
796 </parameter_description>
797 </parameter>
798 <parameter name="ATK_TEXT_ATTR_BG_FULL_HEIGHT">
799 <parameter_description> &quot;true&quot; or &quot;false&quot; whether to make the background color for each character the height of the highest font used on the current line, or the height of the font used for the current character.
800 </parameter_description>
801 </parameter>
802 <parameter name="ATK_TEXT_ATTR_RISE">
803 <parameter_description> Number of pixels that the characters are risen above the baseline
804 </parameter_description>
805 </parameter>
806 <parameter name="ATK_TEXT_ATTR_UNDERLINE">
807 <parameter_description> &quot;none&quot;, &quot;single&quot;, &quot;double&quot;, &quot;low&quot;, or &quot;error&quot;
808 </parameter_description>
809 </parameter>
810 <parameter name="ATK_TEXT_ATTR_STRIKETHROUGH">
811 <parameter_description> &quot;true&quot; or &quot;false&quot; whether the text is strikethrough
812 </parameter_description>
813 </parameter>
814 <parameter name="ATK_TEXT_ATTR_SIZE">
815 <parameter_description> The size of the characters in points. eg: 10
816 </parameter_description>
817 </parameter>
818 <parameter name="ATK_TEXT_ATTR_SCALE">
819 <parameter_description> The scale of the characters. The value is a string representation of a double
820 </parameter_description>
821 </parameter>
822 <parameter name="ATK_TEXT_ATTR_WEIGHT">
823 <parameter_description> The weight of the characters.
824 </parameter_description>
825 </parameter>
826 <parameter name="ATK_TEXT_ATTR_LANGUAGE">
827 <parameter_description> The language used
828 </parameter_description>
829 </parameter>
830 <parameter name="ATK_TEXT_ATTR_FAMILY_NAME">
831 <parameter_description> The font family name
832 </parameter_description>
833 </parameter>
834 <parameter name="ATK_TEXT_ATTR_BG_COLOR">
835 <parameter_description> The background color. The value is an RGB value of the format &quot;%u,%u,%u&quot;
836 </parameter_description>
837 </parameter>
838 <parameter name="ATK_TEXT_ATTR_FG_COLOR">
839 <parameter_description>The foreground color. The value is an RGB value of the format &quot;%u,%u,%u&quot;
840 </parameter_description>
841 </parameter>
842 <parameter name="ATK_TEXT_ATTR_BG_STIPPLE">
843 <parameter_description> &quot;true&quot; if a #GdkBitmap is set for stippling the background color.
844 </parameter_description>
845 </parameter>
846 <parameter name="ATK_TEXT_ATTR_FG_STIPPLE">
847 <parameter_description> &quot;true&quot; if a #GdkBitmap is set for stippling the foreground color.
848 </parameter_description>
849 </parameter>
850 <parameter name="ATK_TEXT_ATTR_WRAP_MODE">
851 <parameter_description> The wrap mode of the text, if any. Values are &quot;none&quot;, &quot;char&quot;, &quot;word&quot;, or &quot;word_char&quot;.
852 </parameter_description>
853 </parameter>
854 <parameter name="ATK_TEXT_ATTR_DIRECTION">
855 <parameter_description> The direction of the text, if set. Values are &quot;none&quot;, &quot;ltr&quot; or &quot;rtl&quot;
856 </parameter_description>
857 </parameter>
858 <parameter name="ATK_TEXT_ATTR_JUSTIFICATION">
859 <parameter_description> The justification of the text, if set. Values are &quot;left&quot;, &quot;right&quot;, &quot;center&quot; or &quot;fill&quot;
860 </parameter_description>
861 </parameter>
862 <parameter name="ATK_TEXT_ATTR_STRETCH">
863 <parameter_description> The stretch of the text, if set. Values are &quot;ultra_condensed&quot;, &quot;extra_condensed&quot;, &quot;condensed&quot;, &quot;semi_condensed&quot;, &quot;normal&quot;, &quot;semi_expanded&quot;, &quot;expanded&quot;, &quot;extra_expanded&quot; or &quot;ultra_expanded&quot;
864 </parameter_description>
865 </parameter>
866 <parameter name="ATK_TEXT_ATTR_VARIANT">
867 <parameter_description> The capitalization variant of the text, if set. Values are &quot;normal&quot; or &quot;small_caps&quot;
868 </parameter_description>
869 </parameter>
870 <parameter name="ATK_TEXT_ATTR_STYLE">
871 <parameter_description> The slant style of the text, if set. Values are &quot;normal&quot;, &quot;oblique&quot; or &quot;italic&quot;
872 </parameter_description>
873 </parameter>
874 <parameter name="ATK_TEXT_ATTR_LAST_DEFINED">
875 <parameter_description> not a valid text attribute, used for finding end of enumeration
876 </parameter_description>
877 </parameter>
878 </parameters>
879 </enum>
880
881 <enum name="AtkTextBoundary">
882 <description>
883 Text boundary types used for specifying boundaries for regions of text.
884 This enumerationis deprecated since 2.9.4 and should not be used. Use
885 AtkTextGranularity with #atk_text_get_string_at_offset instead.
886
887 </description>
888 <parameters>
889 <parameter name="ATK_TEXT_BOUNDARY_CHAR">
890 <parameter_description> Boundary is the boundary between characters
891 (including non-printing characters)
892 </parameter_description>
893 </parameter>
894 <parameter name="ATK_TEXT_BOUNDARY_WORD_START">
895 <parameter_description> Boundary is the start (i.e. first character) of a word.
896 </parameter_description>
897 </parameter>
898 <parameter name="ATK_TEXT_BOUNDARY_WORD_END">
899 <parameter_description> Boundary is the end (i.e. last
900 character) of a word.
901 </parameter_description>
902 </parameter>
903 <parameter name="ATK_TEXT_BOUNDARY_SENTENCE_START">
904 <parameter_description> Boundary is the first character in a sentence.
905 </parameter_description>
906 </parameter>
907 <parameter name="ATK_TEXT_BOUNDARY_SENTENCE_END">
908 <parameter_description> Boundary is the last (terminal)
909 character in a sentence; in languages which use &quot;sentence stop&quot;
910 punctuation such as English, the boundary is thus the '.', '?', or
911 similar terminal punctuation character.
912 </parameter_description>
913 </parameter>
914 <parameter name="ATK_TEXT_BOUNDARY_LINE_START">
915 <parameter_description> Boundary is the initial character of the content or a
916 character immediately following a newline, linefeed, or return character.
917 </parameter_description>
918 </parameter>
919 <parameter name="ATK_TEXT_BOUNDARY_LINE_END">
920 <parameter_description> Boundary is the linefeed, or return
921 character.
922 </parameter_description>
923 </parameter>
924 </parameters>
925 </enum>
926
927 <enum name="AtkTextClipType">
928 <description>
929 Describes the type of clipping required.
930
931 </description>
932 <parameters>
933 <parameter name="ATK_TEXT_CLIP_NONE">
934 <parameter_description> No clipping to be done
935 </parameter_description>
936 </parameter>
937 <parameter name="ATK_TEXT_CLIP_MIN">
938 <parameter_description> Text clipped by min coordinate is omitted
939 </parameter_description>
940 </parameter>
941 <parameter name="ATK_TEXT_CLIP_MAX">
942 <parameter_description> Text clipped by max coordinate is omitted
943 </parameter_description>
944 </parameter>
945 <parameter name="ATK_TEXT_CLIP_BOTH">
946 <parameter_description> Only text fully within mix/max bound is retained
947 </parameter_description>
948 </parameter>
949 </parameters>
950 </enum>
951
952 <enum name="AtkTextGranularity">
953 <description>
954 Text granularity types used for specifying the granularity of the region of
955 text we are interested in.
956
957 </description>
958 <parameters>
959 <parameter name="ATK_TEXT_GRANULARITY_CHAR">
960 <parameter_description> Granularity is defined by the boundaries between characters
961 (including non-printing characters)
962 </parameter_description>
963 </parameter>
964 <parameter name="ATK_TEXT_GRANULARITY_WORD">
965 <parameter_description> Granularity is defined by the boundaries of a word,
966 starting at the beginning of the current word and finishing at the beginning of
967 the following one, if present.
968 </parameter_description>
969 </parameter>
970 <parameter name="ATK_TEXT_GRANULARITY_SENTENCE">
971 <parameter_description> Granularity is defined by the boundaries of a sentence,
972 starting at the beginning of the current sentence and finishing at the beginning of
973 the following one, if present.
974 </parameter_description>
975 </parameter>
976 <parameter name="ATK_TEXT_GRANULARITY_LINE">
977 <parameter_description> Granularity is defined by the boundaries of a line,
978 starting at the beginning of the current line and finishing at the beginning of
979 the following one, if present.
980 </parameter_description>
981 </parameter>
982 <parameter name="ATK_TEXT_GRANULARITY_PARAGRAPH">
983 <parameter_description> Granularity is defined by the boundaries of a paragraph,
984 starting at the beginning of the current paragraph and finishing at the beginning of
985 the following one, if present.
986 </parameter_description>
987 </parameter>
988 </parameters>
989 </enum>
990
991 <signal name="AtkValue::value-changed">
992 <description>
993 The 'value-changed' signal is emitted when the current value
994 that represent the object changes. @value is the numerical
995 representation of this new value. @text is the human
996 readable text alternative of @value, and can be NULL if it is
997 not available. Note that if there is a textual description
998 associated with the new numeric value, that description
999 should be included regardless of whether or not it has also
1000 changed.
1001
1002 Example: a password meter whose value changes as the user
1003 types their new password. Appropiate value text would be
1004 &quot;weak&quot;, &quot;acceptable&quot; and &quot;strong&quot;.
1005
1006 Since: 2.12
1007
1008 </description>
1009 <parameters>
1010 <parameter name="atkvalue">
1011 <parameter_description> the object on which the signal was emitted.
1012 </parameter_description>
1013 </parameter>
1014 <parameter name="value">
1015 <parameter_description> the new value in a numerical form.
1016 </parameter_description>
1017 </parameter>
1018 <parameter name="text">
1019 <parameter_description> human readable text alternative (also called
1020 description) of this object. NULL if not available.
1021 </parameter_description>
1022 </parameter>
1023 </parameters>
1024 <return></return>
1025 </signal>
1026
1027 <signal name="AtkWindow::activate">
1028 <description>
1029 The signal #AtkWindow::activate is emitted when a window
1030 becomes the active window of the application or session.
1031
1032 Since: 2.2
1033
1034 </description>
1035 <parameters>
1036 <parameter name="object">
1037 <parameter_description> the object which received the signal
1038 </parameter_description>
1039 </parameter>
1040 </parameters>
1041 <return></return>
1042 </signal>
1043
1044 <signal name="AtkWindow::create">
1045 <description>
1046 The signal #AtkWindow::create is emitted when a new window
1047 is created.
1048
1049 Since: 2.2
1050
1051 </description>
1052 <parameters>
1053 <parameter name="object">
1054 <parameter_description> the object which received the signal
1055 </parameter_description>
1056 </parameter>
1057 </parameters>
1058 <return></return>
1059 </signal>
1060
1061 <signal name="AtkWindow::deactivate">
1062 <description>
1063 The signal #AtkWindow::deactivate is emitted when a window is
1064 no longer the active window of the application or session.
1065
1066 Since: 2.2
1067
1068 </description>
1069 <parameters>
1070 <parameter name="object">
1071 <parameter_description> the object which received the signal
1072 </parameter_description>
1073 </parameter>
1074 </parameters>
1075 <return></return>
1076 </signal>
1077
1078 <signal name="AtkWindow::destroy">
1079 <description>
1080 The signal #AtkWindow::destroy is emitted when a window is
1081 destroyed.
1082
1083 Since: 2.2
1084
1085 </description>
1086 <parameters>
1087 <parameter name="object">
1088 <parameter_description> the object which received the signal
1089 </parameter_description>
1090 </parameter>
1091 </parameters>
1092 <return></return>
1093 </signal>
1094
1095 <signal name="AtkWindow::maximize">
1096 <description>
1097 The signal #AtkWindow::maximize is emitted when a window
1098 is maximized.
1099
1100 Since: 2.2
1101
1102 </description>
1103 <parameters>
1104 <parameter name="object">
1105 <parameter_description> the object which received the signal
1106 </parameter_description>
1107 </parameter>
1108 </parameters>
1109 <return></return>
1110 </signal>
1111
1112 <signal name="AtkWindow::minimize">
1113 <description>
1114 The signal #AtkWindow::minimize is emitted when a window
1115 is minimized.
1116
1117 Since: 2.2
1118
1119 </description>
1120 <parameters>
1121 <parameter name="object">
1122 <parameter_description> the object which received the signal
1123 </parameter_description>
1124 </parameter>
1125 </parameters>
1126 <return></return>
1127 </signal>
1128
1129 <signal name="AtkWindow::move">
1130 <description>
1131 The signal #AtkWindow::move is emitted when a window
1132 is moved.
1133
1134 Since: 2.2
1135
1136 </description>
1137 <parameters>
1138 <parameter name="object">
1139 <parameter_description> the object which received the signal
1140 </parameter_description>
1141 </parameter>
1142 </parameters>
1143 <return></return>
1144 </signal>
1145
1146 <signal name="AtkWindow::resize">
1147 <description>
1148 The signal #AtkWindow::resize is emitted when a window
1149 is resized.
1150
1151 Since: 2.2
1152
1153 </description>
1154 <parameters>
1155 <parameter name="object">
1156 <parameter_description> the object which received the signal
1157 </parameter_description>
1158 </parameter>
1159 </parameters>
1160 <return></return>
1161 </signal>
1162
1163 <signal name="AtkWindow::restore">
1164 <description>
1165 The signal #AtkWindow::restore is emitted when a window
1166 is restored.
1167
1168 Since: 2.2
1169
1170 </description>
1171 <parameters>
1172 <parameter name="object">
1173 <parameter_description> the object which received the signal
1174 </parameter_description>
1175 </parameter>
1176 </parameters>
1177 <return></return>
1178 </signal>
1179
1180 <function name="atk_action_do_action">
1181 <description>
1182 Perform the specified action on the object.
1183
1184
1185 </description>
1186 <parameters>
1187 <parameter name="action">
1188 <parameter_description> a #GObject instance that implements AtkActionIface
1189 </parameter_description>
1190 </parameter>
1191 <parameter name="i">
1192 <parameter_description> the action index corresponding to the action to be performed
1193 </parameter_description>
1194 </parameter>
1195 </parameters>
1196 <return> %TRUE if success, %FALSE otherwise
1197
1198 </return>
1199 </function>
1200
1201 <function name="atk_action_get_description">
1202 <description>
1203 Returns a description of the specified action of the object.
1204
1205
1206 </description>
1207 <parameters>
1208 <parameter name="action">
1209 <parameter_description> a #GObject instance that implements AtkActionIface
1210 </parameter_description>
1211 </parameter>
1212 <parameter name="i">
1213 <parameter_description> the action index corresponding to the action to be performed
1214 </parameter_description>
1215 </parameter>
1216 </parameters>
1217 <return> a description string, or %NULL if @action does
1218 not implement this interface.
1219 </return>
1220 </function>
1221
1222 <function name="atk_action_get_keybinding">
1223 <description>
1224 Gets the keybinding which can be used to activate this action, if one
1225 exists. The string returned should contain localized, human-readable,
1226 key sequences as they would appear when displayed on screen. It must
1227 be in the format &quot;mnemonic;sequence;shortcut&quot;.
1228
1229 - The mnemonic key activates the object if it is presently enabled onscreen.
1230 This typically corresponds to the underlined letter within the widget.
1231 Example: &quot;n&quot; in a traditional &quot;New...&quot; menu item or the &quot;a&quot; in &quot;Apply&quot; for
1232 a button.
1233 - The sequence is the full list of keys which invoke the action even if the
1234 relevant element is not currently shown on screen. For instance, for a menu
1235 item the sequence is the keybindings used to open the parent menus before
1236 invoking. The sequence string is colon-delimited. Example: &quot;Alt+F:N&quot; in a
1237 traditional &quot;New...&quot; menu item.
1238 - The shortcut, if it exists, will invoke the same action without showing
1239 the component or its enclosing menus or dialogs. Example: &quot;Ctrl+N&quot; in a
1240 traditional &quot;New...&quot; menu item.
1241
1242 Example: For a traditional &quot;New...&quot; menu item, the expected return value
1243 would be: &quot;N;Alt+F:N;Ctrl+N&quot; for the English locale and &quot;N;Alt+D:N;Strg+N&quot;
1244 for the German locale. If, hypothetically, this menu item lacked a mnemonic,
1245 it would be represented by &quot;;;Ctrl+N&quot; and &quot;;;Strg+N&quot; respectively.
1246
1247
1248 </description>
1249 <parameters>
1250 <parameter name="action">
1251 <parameter_description> a #GObject instance that implements AtkActionIface
1252 </parameter_description>
1253 </parameter>
1254 <parameter name="i">
1255 <parameter_description> the action index corresponding to the action to be performed
1256 </parameter_description>
1257 </parameter>
1258 </parameters>
1259 <return> the keybinding which can be used to activate
1260 this action, or %NULL if there is no keybinding for this action.
1261
1262 </return>
1263 </function>
1264
1265 <function name="atk_action_get_localized_name">
1266 <description>
1267 Returns the localized name of the specified action of the object.
1268
1269
1270 </description>
1271 <parameters>
1272 <parameter name="action">
1273 <parameter_description> a #GObject instance that implements AtkActionIface
1274 </parameter_description>
1275 </parameter>
1276 <parameter name="i">
1277 <parameter_description> the action index corresponding to the action to be performed
1278 </parameter_description>
1279 </parameter>
1280 </parameters>
1281 <return> a name string, or %NULL if @action does not
1282 implement this interface.
1283 </return>
1284 </function>
1285
1286 <function name="atk_action_get_n_actions">
1287 <description>
1288 Gets the number of accessible actions available on the object.
1289 If there are more than one, the first one is considered the
1290 &quot;default&quot; action of the object.
1291
1292
1293 </description>
1294 <parameters>
1295 <parameter name="action">
1296 <parameter_description> a #GObject instance that implements AtkActionIface
1297 </parameter_description>
1298 </parameter>
1299 </parameters>
1300 <return> a the number of actions, or 0 if @action does not
1301 implement this interface.
1302 </return>
1303 </function>
1304
1305 <function name="atk_action_get_name">
1306 <description>
1307 Returns a non-localized string naming the specified action of the
1308 object. This name is generally not descriptive of the end result
1309 of the action, but instead names the 'interaction type' which the
1310 object supports. By convention, the above strings should be used to
1311 represent the actions which correspond to the common point-and-click
1312 interaction techniques of the same name: i.e.
1313 &quot;click&quot;, &quot;press&quot;, &quot;release&quot;, &quot;drag&quot;, &quot;drop&quot;, &quot;popup&quot;, etc.
1314 The &quot;popup&quot; action should be used to pop up a context menu for the
1315 object, if one exists.
1316
1317 For technical reasons, some toolkits cannot guarantee that the
1318 reported action is actually 'bound' to a nontrivial user event;
1319 i.e. the result of some actions via atk_action_do_action() may be
1320 NIL.
1321
1322
1323 </description>
1324 <parameters>
1325 <parameter name="action">
1326 <parameter_description> a #GObject instance that implements AtkActionIface
1327 </parameter_description>
1328 </parameter>
1329 <parameter name="i">
1330 <parameter_description> the action index corresponding to the action to be performed
1331 </parameter_description>
1332 </parameter>
1333 </parameters>
1334 <return> a name string, or %NULL if @action does not
1335 implement this interface.
1336 </return>
1337 </function>
1338
1339 <function name="atk_action_set_description">
1340 <description>
1341 Sets a description of the specified action of the object.
1342
1343
1344 </description>
1345 <parameters>
1346 <parameter name="action">
1347 <parameter_description> a #GObject instance that implements AtkActionIface
1348 </parameter_description>
1349 </parameter>
1350 <parameter name="i">
1351 <parameter_description> the action index corresponding to the action to be performed
1352 </parameter_description>
1353 </parameter>
1354 <parameter name="desc">
1355 <parameter_description> the description to be assigned to this action
1356 </parameter_description>
1357 </parameter>
1358 </parameters>
1359 <return> a gboolean representing if the description was successfully set;
1360 </return>
1361 </function>
1362
1363 <function name="atk_add_focus_tracker">
1364 <description>
1365 Adds the specified function to the list of functions to be called
1366 when an object receives focus.
1367
1368 Deprecated: 2.9.4: Focus tracking has been dropped as a feature
1369 to be implemented by ATK itself. If you need focus tracking on your
1370 implementation, subscribe to the #AtkObject::state-change &quot;focused&quot; signal.
1371
1372
1373 </description>
1374 <parameters>
1375 <parameter name="focus_tracker">
1376 <parameter_description> Function to be added to the list of functions to be called
1377 when an object receives focus.
1378 </parameter_description>
1379 </parameter>
1380 </parameters>
1381 <return> added focus tracker id, or 0 on failure.
1382 </return>
1383 </function>
1384
1385 <function name="atk_add_global_event_listener">
1386 <description>
1387 Adds the specified function to the list of functions to be called
1388 when an ATK event of type event_type occurs.
1389
1390 The format of event_type is the following:
1391 &quot;ATK:&lt;atk_type&gt;:&lt;atk_event&gt;:&lt;atk_event_detail&gt;
1392
1393 Where &quot;ATK&quot; works as the namespace, &lt;atk_interface&gt; is the name of
1394 the ATK type (interface or object), &lt;atk_event&gt; is the name of the
1395 signal defined on that interface and &lt;atk_event_detail&gt; is the
1396 gsignal detail of that signal. You can find more info about gsignal
1397 details here:
1398 https://docs.gtk.org/gobject/signals.html
1399
1400 The first three parameters are mandatory. The last one is optional.
1401
1402 For example:
1403 ATK:AtkObject:state-change
1404 ATK:AtkText:text-selection-changed
1405 ATK:AtkText:text-insert:system
1406
1407 Toolkit implementor note: ATK provides a default implementation for
1408 this virtual method. ATK implementors are discouraged from
1409 reimplementing this method.
1410
1411 Toolkit implementor note: this method is not intended to be used by
1412 ATK implementors but by ATK consumers.
1413
1414 ATK consumers note: as this method adds a listener for a given ATK
1415 type, that type should be already registered on the GType system
1416 before calling this method. A simple way to do that is creating an
1417 instance of #AtkNoOpObject. This class implements all ATK
1418 interfaces, so creating the instance will register all ATK types as
1419 a collateral effect.
1420
1421
1422 </description>
1423 <parameters>
1424 <parameter name="listener">
1425 <parameter_description> the listener to notify
1426 </parameter_description>
1427 </parameter>
1428 <parameter name="event_type">
1429 <parameter_description> the type of event for which notification is requested
1430 </parameter_description>
1431 </parameter>
1432 </parameters>
1433 <return> added event listener id, or 0 on failure.
1434 </return>
1435 </function>
1436
1437 <function name="atk_add_key_event_listener">
1438 <description>
1439 Adds the specified function to the list of functions to be called
1440 when a key event occurs. The @data element will be passed to the
1441 #AtkKeySnoopFunc (@listener) as the @func_data param, on notification.
1442
1443
1444 </description>
1445 <parameters>
1446 <parameter name="listener">
1447 <parameter_description> the listener to notify
1448 </parameter_description>
1449 </parameter>
1450 <parameter name="data">
1451 <parameter_description> a #gpointer that points to a block of data that should be sent to the registered listeners,
1452 along with the event notification, when it occurs.
1453 </parameter_description>
1454 </parameter>
1455 </parameters>
1456 <return> added event listener id, or 0 on failure.
1457 </return>
1458 </function>
1459
1460 <function name="atk_attribute_set_free">
1461 <description>
1462 Frees the memory used by an #AtkAttributeSet, including all its
1463 #AtkAttributes.
1464
1465 </description>
1466 <parameters>
1467 <parameter name="attrib_set">
1468 <parameter_description> The #AtkAttributeSet to free
1469 </parameter_description>
1470 </parameter>
1471 </parameters>
1472 <return></return>
1473 </function>
1474
1475 <function name="atk_component_add_focus_handler">
1476 <description>
1477 Add the specified handler to the set of functions to be called
1478 when this object receives focus events (in or out). If the handler is
1479 already added it is not added again
1480
1481 Deprecated: 2.9.4: If you need to track when an object gains or
1482 lose the focus, use the #AtkObject::state-change &quot;focused&quot; notification instead.
1483
1484
1485 </description>
1486 <parameters>
1487 <parameter name="component">
1488 <parameter_description> The #AtkComponent to attach the @handler to
1489 </parameter_description>
1490 </parameter>
1491 <parameter name="handler">
1492 <parameter_description> The #AtkFocusHandler to be attached to @component
1493 </parameter_description>
1494 </parameter>
1495 </parameters>
1496 <return> a handler id which can be used in atk_component_remove_focus_handler()
1497 or zero if the handler was already added.
1498 </return>
1499 </function>
1500
1501 <function name="atk_component_contains">
1502 <description>
1503 Checks whether the specified point is within the extent of the @component.
1504
1505 Toolkit implementor note: ATK provides a default implementation for
1506 this virtual method. In general there are little reason to
1507 re-implement it.
1508
1509
1510 </description>
1511 <parameters>
1512 <parameter name="component">
1513 <parameter_description> the #AtkComponent
1514 </parameter_description>
1515 </parameter>
1516 <parameter name="x">
1517 <parameter_description> x coordinate
1518 </parameter_description>
1519 </parameter>
1520 <parameter name="y">
1521 <parameter_description> y coordinate
1522 </parameter_description>
1523 </parameter>
1524 <parameter name="coord_type">
1525 <parameter_description> specifies whether the coordinates are relative to the screen
1526 or to the components top level window
1527 </parameter_description>
1528 </parameter>
1529 </parameters>
1530 <return> %TRUE or %FALSE indicating whether the specified point is within
1531 the extent of the @component or not
1532 </return>
1533 </function>
1534
1535 <function name="atk_component_get_alpha">
1536 <description>
1537 Returns the alpha value (i.e. the opacity) for this
1538 @component, on a scale from 0 (fully transparent) to 1.0
1539 (fully opaque).
1540
1541 Since: 1.12
1542
1543 </description>
1544 <parameters>
1545 <parameter name="component">
1546 <parameter_description> an #AtkComponent
1547 </parameter_description>
1548 </parameter>
1549 </parameters>
1550 <return> An alpha value from 0 to 1.0, inclusive.
1551 </return>
1552 </function>
1553
1554 <function name="atk_component_get_extents">
1555 <description>
1556 Gets the rectangle which gives the extent of the @component.
1557
1558
1559 </description>
1560 <parameters>
1561 <parameter name="component">
1562 <parameter_description> an #AtkComponent
1563 </parameter_description>
1564 </parameter>
1565 <parameter name="x">
1566 <parameter_description> address of #gint to put x coordinate
1567 </parameter_description>
1568 </parameter>
1569 <parameter name="y">
1570 <parameter_description> address of #gint to put y coordinate
1571 </parameter_description>
1572 </parameter>
1573 <parameter name="width">
1574 <parameter_description> address of #gint to put width
1575 </parameter_description>
1576 </parameter>
1577 <parameter name="height">
1578 <parameter_description> address of #gint to put height
1579 </parameter_description>
1580 </parameter>
1581 <parameter name="coord_type">
1582 <parameter_description> specifies whether the coordinates are relative to the screen
1583 or to the components top level window
1584 </parameter_description>
1585 </parameter>
1586 </parameters>
1587 <return></return>
1588 </function>
1589
1590 <function name="atk_component_get_layer">
1591 <description>
1592 Gets the layer of the component.
1593
1594
1595 </description>
1596 <parameters>
1597 <parameter name="component">
1598 <parameter_description> an #AtkComponent
1599 </parameter_description>
1600 </parameter>
1601 </parameters>
1602 <return> an #AtkLayer which is the layer of the component
1603 </return>
1604 </function>
1605
1606 <function name="atk_component_get_mdi_zorder">
1607 <description>
1608 Gets the zorder of the component. The value G_MININT will be returned
1609 if the layer of the component is not ATK_LAYER_MDI or ATK_LAYER_WINDOW.
1610
1611
1612 </description>
1613 <parameters>
1614 <parameter name="component">
1615 <parameter_description> an #AtkComponent
1616 </parameter_description>
1617 </parameter>
1618 </parameters>
1619 <return> a gint which is the zorder of the component, i.e. the depth at
1620 which the component is shown in relation to other components in the same
1621 container.
1622 </return>
1623 </function>
1624
1625 <function name="atk_component_get_position">
1626 <description>
1627 Gets the position of @component in the form of
1628 a point specifying @component's top-left corner.
1629
1630 Deprecated: Since 2.12. Use atk_component_get_extents() instead.
1631
1632 </description>
1633 <parameters>
1634 <parameter name="component">
1635 <parameter_description> an #AtkComponent
1636 </parameter_description>
1637 </parameter>
1638 <parameter name="x">
1639 <parameter_description> address of #gint to put x coordinate position
1640 </parameter_description>
1641 </parameter>
1642 <parameter name="y">
1643 <parameter_description> address of #gint to put y coordinate position
1644 </parameter_description>
1645 </parameter>
1646 <parameter name="coord_type">
1647 <parameter_description> specifies whether the coordinates are relative to the screen
1648 or to the components top level window
1649 </parameter_description>
1650 </parameter>
1651 </parameters>
1652 <return></return>
1653 </function>
1654
1655 <function name="atk_component_get_size">
1656 <description>
1657 Gets the size of the @component in terms of width and height.
1658
1659 Deprecated: Since 2.12. Use atk_component_get_extents() instead.
1660
1661 </description>
1662 <parameters>
1663 <parameter name="component">
1664 <parameter_description> an #AtkComponent
1665 </parameter_description>
1666 </parameter>
1667 <parameter name="width">
1668 <parameter_description> address of #gint to put width of @component
1669 </parameter_description>
1670 </parameter>
1671 <parameter name="height">
1672 <parameter_description> address of #gint to put height of @component
1673 </parameter_description>
1674 </parameter>
1675 </parameters>
1676 <return></return>
1677 </function>
1678
1679 <function name="atk_component_grab_focus">
1680 <description>
1681 Grabs focus for this @component.
1682
1683
1684 </description>
1685 <parameters>
1686 <parameter name="component">
1687 <parameter_description> an #AtkComponent
1688 </parameter_description>
1689 </parameter>
1690 </parameters>
1691 <return> %TRUE if successful, %FALSE otherwise.
1692 </return>
1693 </function>
1694
1695 <function name="atk_component_ref_accessible_at_point">
1696 <description>
1697 Gets a reference to the accessible child, if one exists, at the
1698 coordinate point specified by @x and @y.
1699
1700
1701 </description>
1702 <parameters>
1703 <parameter name="component">
1704 <parameter_description> the #AtkComponent
1705 </parameter_description>
1706 </parameter>
1707 <parameter name="x">
1708 <parameter_description> x coordinate
1709 </parameter_description>
1710 </parameter>
1711 <parameter name="y">
1712 <parameter_description> y coordinate
1713 </parameter_description>
1714 </parameter>
1715 <parameter name="coord_type">
1716 <parameter_description> specifies whether the coordinates are relative to the screen
1717 or to the components top level window
1718 </parameter_description>
1719 </parameter>
1720 </parameters>
1721 <return> a reference to the accessible
1722 child, if one exists
1723 </return>
1724 </function>
1725
1726 <function name="atk_component_remove_focus_handler">
1727 <description>
1728 Remove the handler specified by @handler_id from the list of
1729 functions to be executed when this object receives focus events
1730 (in or out).
1731
1732 Deprecated: 2.9.4: If you need to track when an object gains or
1733 lose the focus, use the #AtkObject::state-change &quot;focused&quot; notification instead.
1734
1735
1736 </description>
1737 <parameters>
1738 <parameter name="component">
1739 <parameter_description> the #AtkComponent to remove the focus handler from
1740 </parameter_description>
1741 </parameter>
1742 <parameter name="handler_id">
1743 <parameter_description> the handler id of the focus handler to be removed
1744 from @component
1745 </parameter_description>
1746 </parameter>
1747 </parameters>
1748 <return></return>
1749 </function>
1750
1751 <function name="atk_component_set_extents">
1752 <description>
1753 Sets the extents of @component.
1754
1755
1756 </description>
1757 <parameters>
1758 <parameter name="component">
1759 <parameter_description> an #AtkComponent
1760 </parameter_description>
1761 </parameter>
1762 <parameter name="x">
1763 <parameter_description> x coordinate
1764 </parameter_description>
1765 </parameter>
1766 <parameter name="y">
1767 <parameter_description> y coordinate
1768 </parameter_description>
1769 </parameter>
1770 <parameter name="width">
1771 <parameter_description> width to set for @component
1772 </parameter_description>
1773 </parameter>
1774 <parameter name="height">
1775 <parameter_description> height to set for @component
1776 </parameter_description>
1777 </parameter>
1778 <parameter name="coord_type">
1779 <parameter_description> specifies whether the coordinates are relative to the screen
1780 or to the components top level window
1781 </parameter_description>
1782 </parameter>
1783 </parameters>
1784 <return> %TRUE or %FALSE whether the extents were set or not
1785 </return>
1786 </function>
1787
1788 <function name="atk_component_set_position">
1789 <description>
1790 Sets the postition of @component.
1791
1792
1793 </description>
1794 <parameters>
1795 <parameter name="component">
1796 <parameter_description> an #AtkComponent
1797 </parameter_description>
1798 </parameter>
1799 <parameter name="x">
1800 <parameter_description> x coordinate
1801 </parameter_description>
1802 </parameter>
1803 <parameter name="y">
1804 <parameter_description> y coordinate
1805 </parameter_description>
1806 </parameter>
1807 <parameter name="coord_type">
1808 <parameter_description> specifies whether the coordinates are relative to the screen
1809 or to the components top level window
1810 </parameter_description>
1811 </parameter>
1812 </parameters>
1813 <return> %TRUE or %FALSE whether or not the position was set or not
1814 </return>
1815 </function>
1816
1817 <function name="atk_component_set_size">
1818 <description>
1819 Set the size of the @component in terms of width and height.
1820
1821
1822 </description>
1823 <parameters>
1824 <parameter name="component">
1825 <parameter_description> an #AtkComponent
1826 </parameter_description>
1827 </parameter>
1828 <parameter name="width">
1829 <parameter_description> width to set for @component
1830 </parameter_description>
1831 </parameter>
1832 <parameter name="height">
1833 <parameter_description> height to set for @component
1834 </parameter_description>
1835 </parameter>
1836 </parameters>
1837 <return> %TRUE or %FALSE whether the size was set or not
1838 </return>
1839 </function>
1840
1841 <function name="atk_document_get_attribute_value">
1842 <description>
1843 Since: 1.12
1844
1845
1846 </description>
1847 <parameters>
1848 <parameter name="document">
1849 <parameter_description> a #GObject instance that implements AtkDocumentIface
1850 </parameter_description>
1851 </parameter>
1852 <parameter name="attribute_name">
1853 <parameter_description> a character string representing the name of the attribute
1854 whose value is being queried.
1855 </parameter_description>
1856 </parameter>
1857 </parameters>
1858 <return> a string value associated with the named
1859 attribute for this document, or NULL if a value for
1860 #attribute_name has not been specified for this document.
1861 </return>
1862 </function>
1863
1864 <function name="atk_document_get_attributes">
1865 <description>
1866 Gets an AtkAttributeSet which describes document-wide
1867 attributes as name-value pairs.
1868
1869 Since: 1.12
1870
1871
1872 </description>
1873 <parameters>
1874 <parameter name="document">
1875 <parameter_description> a #GObject instance that implements AtkDocumentIface
1876 </parameter_description>
1877 </parameter>
1878 </parameters>
1879 <return> An AtkAttributeSet containing the explicitly
1880 set name-value-pair attributes associated with this document
1881 as a whole.
1882 </return>
1883 </function>
1884
1885 <function name="atk_document_get_current_page_number">
1886 <description>
1887 Since: 2.12
1888
1889
1890 </description>
1891 <parameters>
1892 <parameter name="document">
1893 <parameter_description> the #AtkDocument
1894 </parameter_description>
1895 </parameter>
1896 </parameters>
1897 <return> current page number inside @document. -1 if not
1898 implemented, not know by the implementor or irrelevant.
1899 </return>
1900 </function>
1901
1902 <function name="atk_document_get_document">
1903 <description>
1904 Gets a %gpointer that points to an instance of the DOM. It is
1905 up to the caller to check atk_document_get_type to determine
1906 how to cast this pointer.
1907
1908 Deprecated: Since 2.12. @document is already a representation of
1909 the document. Use it directly, or one of its children, as an
1910 instance of the DOM.
1911
1912
1913 </description>
1914 <parameters>
1915 <parameter name="document">
1916 <parameter_description> a #GObject instance that implements AtkDocumentIface
1917 </parameter_description>
1918 </parameter>
1919 </parameters>
1920 <return> a %gpointer that points to an instance of the DOM.
1921 </return>
1922 </function>
1923
1924 <function name="atk_document_get_document_type">
1925 <description>
1926 Gets a string indicating the document type.
1927
1928 Deprecated: Since 2.12. Please use atk_document_get_attributes() to
1929 ask for the document type if it applies.
1930
1931
1932 </description>
1933 <parameters>
1934 <parameter name="document">
1935 <parameter_description> a #GObject instance that implements AtkDocumentIface
1936 </parameter_description>
1937 </parameter>
1938 </parameters>
1939 <return> a string indicating the document type
1940 </return>
1941 </function>
1942
1943 <function name="atk_document_get_locale">
1944 <description>
1945 Gets a UTF-8 string indicating the POSIX-style LC_MESSAGES locale
1946 of the content of this document instance. Individual
1947 text substrings or images within this document may have
1948 a different locale, see atk_text_get_attributes and
1949 atk_image_get_image_locale.
1950
1951 Deprecated: 2.7.90: Please use atk_object_get_object_locale() instead.
1952
1953
1954 </description>
1955 <parameters>
1956 <parameter name="document">
1957 <parameter_description> a #GObject instance that implements AtkDocumentIface
1958 </parameter_description>
1959 </parameter>
1960 </parameters>
1961 <return> a UTF-8 string indicating the POSIX-style LC_MESSAGES
1962 locale of the document content as a whole, or NULL if
1963 the document content does not specify a locale.
1964 </return>
1965 </function>
1966
1967 <function name="atk_document_get_page_count">
1968 <description>
1969 Since: 2.12
1970
1971
1972 </description>
1973 <parameters>
1974 <parameter name="document">
1975 <parameter_description> the #AtkDocument
1976 </parameter_description>
1977 </parameter>
1978 </parameters>
1979 <return> total page count of @document. -1 if not implemented, not
1980 know by the implementor or irrelevant.
1981 </return>
1982 </function>
1983
1984 <function name="atk_document_set_attribute_value">
1985 <description>
1986 Since: 1.12
1987
1988
1989 </description>
1990 <parameters>
1991 <parameter name="document">
1992 <parameter_description> a #GObject instance that implements AtkDocumentIface
1993 </parameter_description>
1994 </parameter>
1995 <parameter name="attribute_name">
1996 <parameter_description> a character string representing the name of the attribute
1997 whose value is being set.
1998 </parameter_description>
1999 </parameter>
2000 <parameter name="attribute_value">
2001 <parameter_description> a string value to be associated with #attribute_name.
2002 </parameter_description>
2003 </parameter>
2004 </parameters>
2005 <return> TRUE if #value is successfully associated with #attribute_name
2006 for this document, FALSE otherwise (e.g. if the document does not
2007 allow the attribute to be modified).
2008 </return>
2009 </function>
2010
2011 <function name="atk_editable_text_copy_text">
2012 <description>
2013 Copy text from @start_pos up to, but not including @end_pos
2014 to the clipboard.
2015
2016 </description>
2017 <parameters>
2018 <parameter name="text">
2019 <parameter_description> an #AtkEditableText
2020 </parameter_description>
2021 </parameter>
2022 <parameter name="start_pos">
2023 <parameter_description> start position
2024 </parameter_description>
2025 </parameter>
2026 <parameter name="end_pos">
2027 <parameter_description> end position
2028 </parameter_description>
2029 </parameter>
2030 </parameters>
2031 <return></return>
2032 </function>
2033
2034 <function name="atk_editable_text_cut_text">
2035 <description>
2036 Copy text from @start_pos up to, but not including @end_pos
2037 to the clipboard and then delete from the widget.
2038
2039 </description>
2040 <parameters>
2041 <parameter name="text">
2042 <parameter_description> an #AtkEditableText
2043 </parameter_description>
2044 </parameter>
2045 <parameter name="start_pos">
2046 <parameter_description> start position
2047 </parameter_description>
2048 </parameter>
2049 <parameter name="end_pos">
2050 <parameter_description> end position
2051 </parameter_description>
2052 </parameter>
2053 </parameters>
2054 <return></return>
2055 </function>
2056
2057 <function name="atk_editable_text_delete_text">
2058 <description>
2059 Delete text @start_pos up to, but not including @end_pos.
2060
2061 </description>
2062 <parameters>
2063 <parameter name="text">
2064 <parameter_description> an #AtkEditableText
2065 </parameter_description>
2066 </parameter>
2067 <parameter name="start_pos">
2068 <parameter_description> start position
2069 </parameter_description>
2070 </parameter>
2071 <parameter name="end_pos">
2072 <parameter_description> end position
2073 </parameter_description>
2074 </parameter>
2075 </parameters>
2076 <return></return>
2077 </function>
2078
2079 <function name="atk_editable_text_insert_text">
2080 <description>
2081 Insert text at a given position.
2082
2083 </description>
2084 <parameters>
2085 <parameter name="text">
2086 <parameter_description> an #AtkEditableText
2087 </parameter_description>
2088 </parameter>
2089 <parameter name="string">
2090 <parameter_description> the text to insert
2091 </parameter_description>
2092 </parameter>
2093 <parameter name="length">
2094 <parameter_description> the length of text to insert, in bytes
2095 </parameter_description>
2096 </parameter>
2097 <parameter name="position">
2098 <parameter_description> The caller initializes this to
2099 the position at which to insert the text. After the call it
2100 points at the position after the newly inserted text.
2101 </parameter_description>
2102 </parameter>
2103 </parameters>
2104 <return></return>
2105 </function>
2106
2107 <function name="atk_editable_text_paste_text">
2108 <description>
2109 Paste text from clipboard to specified @position.
2110
2111 </description>
2112 <parameters>
2113 <parameter name="text">
2114 <parameter_description> an #AtkEditableText
2115 </parameter_description>
2116 </parameter>
2117 <parameter name="position">
2118 <parameter_description> position to paste
2119 </parameter_description>
2120 </parameter>
2121 </parameters>
2122 <return></return>
2123 </function>
2124
2125 <function name="atk_editable_text_set_run_attributes">
2126 <description>
2127 Sets the attributes for a specified range. See the ATK_ATTRIBUTE
2128 macros (such as #ATK_ATTRIBUTE_LEFT_MARGIN) for examples of attributes
2129 that can be set. Note that other attributes that do not have corresponding
2130 ATK_ATTRIBUTE macros may also be set for certain text widgets.
2131
2132
2133 </description>
2134 <parameters>
2135 <parameter name="text">
2136 <parameter_description> an #AtkEditableText
2137 </parameter_description>
2138 </parameter>
2139 <parameter name="attrib_set">
2140 <parameter_description> an #AtkAttributeSet
2141 </parameter_description>
2142 </parameter>
2143 <parameter name="start_offset">
2144 <parameter_description> start of range in which to set attributes
2145 </parameter_description>
2146 </parameter>
2147 <parameter name="end_offset">
2148 <parameter_description> end of range in which to set attributes
2149 </parameter_description>
2150 </parameter>
2151 </parameters>
2152 <return> %TRUE if attributes successfully set for the specified
2153 range, otherwise %FALSE
2154 </return>
2155 </function>
2156
2157 <function name="atk_editable_text_set_text_contents">
2158 <description>
2159 Set text contents of @text.
2160
2161 </description>
2162 <parameters>
2163 <parameter name="text">
2164 <parameter_description> an #AtkEditableText
2165 </parameter_description>
2166 </parameter>
2167 <parameter name="string">
2168 <parameter_description> string to set for text contents of @text
2169 </parameter_description>
2170 </parameter>
2171 </parameters>
2172 <return></return>
2173 </function>
2174
2175 <function name="atk_focus_tracker_init">
2176 <description>
2177 Specifies the function to be called for focus tracker initialization.
2178 This function should be called by an implementation of the
2179 ATK interface if any specific work needs to be done to enable
2180 focus tracking.
2181
2182 Deprecated: 2.9.4: Focus tracking has been dropped as a feature
2183 to be implemented by ATK itself.
2184
2185
2186 </description>
2187 <parameters>
2188 <parameter name="init">
2189 <parameter_description> Function to be called for focus tracker initialization
2190 </parameter_description>
2191 </parameter>
2192 </parameters>
2193 <return></return>
2194 </function>
2195
2196 <function name="atk_focus_tracker_notify">
2197 <description>
2198 Cause the focus tracker functions which have been specified to be
2199 executed for the object.
2200
2201 Deprecated: 2.9.4: Focus tracking has been dropped as a feature
2202 to be implemented by ATK itself. As #AtkObject::focus-event was
2203 deprecated in favor of a #AtkObject::state-change signal, in order
2204 to notify a focus change on your implementation, you can use
2205 atk_object_notify_state_change() instead.
2206
2207 </description>
2208 <parameters>
2209 <parameter name="object">
2210 <parameter_description> an #AtkObject
2211 </parameter_description>
2212 </parameter>
2213 </parameters>
2214 <return></return>
2215 </function>
2216
2217 <function name="atk_get_binary_age">
2218 <description>
2219 Returns the binary age as passed to libtool when building the ATK
2220 library the process is running against.
2221
2222 Since: 2.8
2223
2224 </description>
2225 <parameters>
2226 </parameters>
2227 <return> the binary age of the ATK library
2228
2229 </return>
2230 </function>
2231
2232 <function name="atk_get_default_registry">
2233 <description>
2234 Gets a default implementation of the #AtkObjectFactory/type
2235 registry.
2236 Note: For most toolkit maintainers, this will be the correct
2237 registry for registering new #AtkObject factories. Following
2238 a call to this function, maintainers may call atk_registry_set_factory_type()
2239 to associate an #AtkObjectFactory subclass with the GType of objects
2240 for whom accessibility information will be provided.
2241
2242
2243 </description>
2244 <parameters>
2245 </parameters>
2246 <return> a default implementation of the
2247 #AtkObjectFactory/type registry
2248 </return>
2249 </function>
2250
2251 <function name="atk_get_focus_object">
2252 <description>
2253 Gets the currently focused object.
2254
2255 Since: 1.6
2256
2257
2258 </description>
2259 <parameters>
2260 </parameters>
2261 <return> the currently focused object for the current
2262 application
2263 </return>
2264 </function>
2265
2266 <function name="atk_get_interface_age">
2267 <description>
2268 Returns the interface age as passed to libtool when building the
2269 ATK library the process is running against.
2270
2271 Since: 2.8
2272
2273 </description>
2274 <parameters>
2275 </parameters>
2276 <return> the interface age of the ATK library
2277
2278 </return>
2279 </function>
2280
2281 <function name="atk_get_major_version">
2282 <description>
2283 Returns the major version number of the ATK library. (e.g. in ATK
2284 version 2.7.4 this is 2.)
2285
2286 This function is in the library, so it represents the ATK library
2287 your code is running against. In contrast, the #ATK_MAJOR_VERSION
2288 macro represents the major version of the ATK headers you have
2289 included when compiling your code.
2290
2291 Since: 2.8
2292
2293 </description>
2294 <parameters>
2295 </parameters>
2296 <return> the major version number of the ATK library
2297
2298 </return>
2299 </function>
2300
2301 <function name="atk_get_micro_version">
2302 <description>
2303 Returns the micro version number of the ATK library. (e.g. in ATK
2304 version 2.7.4 this is 4.)
2305
2306 This function is in the library, so it represents the ATK library
2307 your code is are running against. In contrast, the
2308 #ATK_MICRO_VERSION macro represents the micro version of the ATK
2309 headers you have included when compiling your code.
2310
2311 Since: 2.8
2312
2313 </description>
2314 <parameters>
2315 </parameters>
2316 <return> the micro version number of the ATK library
2317
2318 </return>
2319 </function>
2320
2321 <function name="atk_get_minor_version">
2322 <description>
2323 Returns the minor version number of the ATK library. (e.g. in ATK
2324 version 2.7.4 this is 7.)
2325
2326 This function is in the library, so it represents the ATK library
2327 your code is are running against. In contrast, the
2328 #ATK_MINOR_VERSION macro represents the minor version of the ATK
2329 headers you have included when compiling your code.
2330
2331 Since: 2.8
2332
2333 </description>
2334 <parameters>
2335 </parameters>
2336 <return> the minor version number of the ATK library
2337
2338 </return>
2339 </function>
2340
2341 <function name="atk_get_root">
2342 <description>
2343 Gets the root accessible container for the current application.
2344
2345
2346 </description>
2347 <parameters>
2348 </parameters>
2349 <return> the root accessible container for the current
2350 application
2351 </return>
2352 </function>
2353
2354 <function name="atk_get_toolkit_name">
2355 <description>
2356 Gets name string for the GUI toolkit implementing ATK for this application.
2357
2358
2359 </description>
2360 <parameters>
2361 </parameters>
2362 <return> name string for the GUI toolkit implementing ATK for this application
2363 </return>
2364 </function>
2365
2366 <function name="atk_get_toolkit_version">
2367 <description>
2368 Gets version string for the GUI toolkit implementing ATK for this application.
2369
2370
2371 </description>
2372 <parameters>
2373 </parameters>
2374 <return> version string for the GUI toolkit implementing ATK for this application
2375 </return>
2376 </function>
2377
2378 <function name="atk_get_version">
2379 <description>
2380 Gets the current version for ATK.
2381
2382 Since: 1.20
2383
2384 </description>
2385 <parameters>
2386 </parameters>
2387 <return> version string for ATK
2388
2389 </return>
2390 </function>
2391
2392 <function name="atk_gobject_accessible_for_object">
2393 <description>
2394 Gets the accessible object for the specified @obj.
2395
2396
2397 </description>
2398 <parameters>
2399 <parameter name="obj">
2400 <parameter_description> a #GObject
2401 </parameter_description>
2402 </parameter>
2403 </parameters>
2404 <return> a #AtkObject which is the accessible object for
2405 the @obj
2406 </return>
2407 </function>
2408
2409 <function name="atk_gobject_accessible_get_object">
2410 <description>
2411 Gets the GObject for which @obj is the accessible object.
2412
2413
2414 </description>
2415 <parameters>
2416 <parameter name="obj">
2417 <parameter_description> a #AtkGObjectAccessible
2418 </parameter_description>
2419 </parameter>
2420 </parameters>
2421 <return> a #GObject which is the object for which @obj is
2422 the accessible object
2423 </return>
2424 </function>
2425
2426 <function name="atk_hyperlink_get_end_index">
2427 <description>
2428 Gets the index with the hypertext document at which this link ends.
2429
2430
2431 </description>
2432 <parameters>
2433 <parameter name="link_">
2434 <parameter_description> an #AtkHyperlink
2435 </parameter_description>
2436 </parameter>
2437 </parameters>
2438 <return> the index with the hypertext document at which this link ends
2439 </return>
2440 </function>
2441
2442 <function name="atk_hyperlink_get_n_anchors">
2443 <description>
2444 Gets the number of anchors associated with this hyperlink.
2445
2446
2447 </description>
2448 <parameters>
2449 <parameter name="link_">
2450 <parameter_description> an #AtkHyperlink
2451 </parameter_description>
2452 </parameter>
2453 </parameters>
2454 <return> the number of anchors associated with this hyperlink
2455 </return>
2456 </function>
2457
2458 <function name="atk_hyperlink_get_object">
2459 <description>
2460 Returns the item associated with this hyperlinks nth anchor.
2461 For instance, the returned #AtkObject will implement #AtkText
2462 if @link_ is a text hyperlink, #AtkImage if @link_ is an image
2463 hyperlink etc.
2464
2465 Multiple anchors are primarily used by client-side image maps.
2466
2467
2468 </description>
2469 <parameters>
2470 <parameter name="link_">
2471 <parameter_description> an #AtkHyperlink
2472 </parameter_description>
2473 </parameter>
2474 <parameter name="i">
2475 <parameter_description> a (zero-index) integer specifying the desired anchor
2476 </parameter_description>
2477 </parameter>
2478 </parameters>
2479 <return> an #AtkObject associated with this hyperlinks
2480 i-th anchor
2481 </return>
2482 </function>
2483
2484 <function name="atk_hyperlink_get_start_index">
2485 <description>
2486 Gets the index with the hypertext document at which this link begins.
2487
2488
2489 </description>
2490 <parameters>
2491 <parameter name="link_">
2492 <parameter_description> an #AtkHyperlink
2493 </parameter_description>
2494 </parameter>
2495 </parameters>
2496 <return> the index with the hypertext document at which this link begins
2497 </return>
2498 </function>
2499
2500 <function name="atk_hyperlink_get_uri">
2501 <description>
2502 Get a the URI associated with the anchor specified
2503 by @i of @link_.
2504
2505 Multiple anchors are primarily used by client-side image maps.
2506
2507
2508 </description>
2509 <parameters>
2510 <parameter name="link_">
2511 <parameter_description> an #AtkHyperlink
2512 </parameter_description>
2513 </parameter>
2514 <parameter name="i">
2515 <parameter_description> a (zero-index) integer specifying the desired anchor
2516 </parameter_description>
2517 </parameter>
2518 </parameters>
2519 <return> a string specifying the URI
2520 </return>
2521 </function>
2522
2523 <function name="atk_hyperlink_impl_get_hyperlink">
2524 <description>
2525 Gets the hyperlink associated with this object.
2526
2527 Since: 1.12
2528
2529 </description>
2530 <parameters>
2531 <parameter name="impl">
2532 <parameter_description> a #GObject instance that implements AtkHyperlinkImplIface
2533 </parameter_description>
2534 </parameter>
2535 </parameters>
2536 <return> an AtkHyperlink object which points to this
2537 implementing AtkObject.
2538
2539 </return>
2540 </function>
2541
2542 <function name="atk_hyperlink_is_inline">
2543 <description>
2544 Indicates whether the link currently displays some or all of its
2545 content inline. Ordinary HTML links will usually return
2546 %FALSE, but an inline &lt;src&gt; HTML element will return
2547 %TRUE.
2548
2549
2550 </description>
2551 <parameters>
2552 <parameter name="link_">
2553 <parameter_description> an #AtkHyperlink
2554 </parameter_description>
2555 </parameter>
2556 </parameters>
2557 <return> whether or not this link displays its content inline.
2558
2559 </return>
2560 </function>
2561
2562 <function name="atk_hyperlink_is_selected_link">
2563 <description>
2564 Determines whether this AtkHyperlink is selected
2565
2566 Since: 1.4
2567
2568 Deprecated: 1.8: Please use ATK_STATE_FOCUSABLE for all links,
2569 and ATK_STATE_FOCUSED for focused links.
2570
2571
2572 </description>
2573 <parameters>
2574 <parameter name="link_">
2575 <parameter_description> an #AtkHyperlink
2576 </parameter_description>
2577 </parameter>
2578 </parameters>
2579 <return> True if the AtkHyperlink is selected, False otherwise
2580 </return>
2581 </function>
2582
2583 <function name="atk_hyperlink_is_valid">
2584 <description>
2585 Since the document that a link is associated with may have changed
2586 this method returns %TRUE if the link is still valid (with
2587 respect to the document it references) and %FALSE otherwise.
2588
2589
2590 </description>
2591 <parameters>
2592 <parameter name="link_">
2593 <parameter_description> an #AtkHyperlink
2594 </parameter_description>
2595 </parameter>
2596 </parameters>
2597 <return> whether or not this link is still valid
2598 </return>
2599 </function>
2600
2601 <function name="atk_hypertext_get_link">
2602 <description>
2603 Gets the link in this hypertext document at index
2604 @link_index
2605
2606
2607 </description>
2608 <parameters>
2609 <parameter name="hypertext">
2610 <parameter_description> an #AtkHypertext
2611 </parameter_description>
2612 </parameter>
2613 <parameter name="link_index">
2614 <parameter_description> an integer specifying the desired link
2615 </parameter_description>
2616 </parameter>
2617 </parameters>
2618 <return> the link in this hypertext document at
2619 index @link_index
2620 </return>
2621 </function>
2622
2623 <function name="atk_hypertext_get_link_index">
2624 <description>
2625 Gets the index into the array of hyperlinks that is associated with
2626 the character specified by @char_index.
2627
2628
2629 </description>
2630 <parameters>
2631 <parameter name="hypertext">
2632 <parameter_description> an #AtkHypertext
2633 </parameter_description>
2634 </parameter>
2635 <parameter name="char_index">
2636 <parameter_description> a character index
2637 </parameter_description>
2638 </parameter>
2639 </parameters>
2640 <return> an index into the array of hyperlinks in @hypertext,
2641 or -1 if there is no hyperlink associated with this character.
2642 </return>
2643 </function>
2644
2645 <function name="atk_hypertext_get_n_links">
2646 <description>
2647 Gets the number of links within this hypertext document.
2648
2649
2650 </description>
2651 <parameters>
2652 <parameter name="hypertext">
2653 <parameter_description> an #AtkHypertext
2654 </parameter_description>
2655 </parameter>
2656 </parameters>
2657 <return> the number of links within this hypertext document
2658 </return>
2659 </function>
2660
2661 <function name="atk_image_get_image_description">
2662 <description>
2663 Get a textual description of this image.
2664
2665
2666 </description>
2667 <parameters>
2668 <parameter name="image">
2669 <parameter_description> a #GObject instance that implements AtkImageIface
2670 </parameter_description>
2671 </parameter>
2672 </parameters>
2673 <return> a string representing the image description
2674 </return>
2675 </function>
2676
2677 <function name="atk_image_get_image_locale">
2678 <description>
2679 Since: 1.12
2680
2681
2682 </description>
2683 <parameters>
2684 <parameter name="image">
2685 <parameter_description> An #AtkImage
2686 </parameter_description>
2687 </parameter>
2688 </parameters>
2689 <return> a string corresponding to the POSIX
2690 LC_MESSAGES locale used by the image description, or %NULL if the
2691 image does not specify a locale.
2692
2693 </return>
2694 </function>
2695
2696 <function name="atk_image_get_image_position">
2697 <description>
2698 Gets the position of the image in the form of a point specifying the
2699 images top-left corner.
2700
2701 </description>
2702 <parameters>
2703 <parameter name="image">
2704 <parameter_description> a #GObject instance that implements AtkImageIface
2705 </parameter_description>
2706 </parameter>
2707 <parameter name="x">
2708 <parameter_description> address of #gint to put x coordinate position; otherwise, -1 if value cannot be obtained.
2709 </parameter_description>
2710 </parameter>
2711 <parameter name="y">
2712 <parameter_description> address of #gint to put y coordinate position; otherwise, -1 if value cannot be obtained.
2713 </parameter_description>
2714 </parameter>
2715 <parameter name="coord_type">
2716 <parameter_description> specifies whether the coordinates are relative to the screen
2717 or to the components top level window
2718 </parameter_description>
2719 </parameter>
2720 </parameters>
2721 <return></return>
2722 </function>
2723
2724 <function name="atk_image_get_image_size">
2725 <description>
2726 Get the width and height in pixels for the specified image.
2727 The values of @width and @height are returned as -1 if the
2728 values cannot be obtained (for instance, if the object is not onscreen).
2729
2730 </description>
2731 <parameters>
2732 <parameter name="image">
2733 <parameter_description> a #GObject instance that implements AtkImageIface
2734 </parameter_description>
2735 </parameter>
2736 <parameter name="width">
2737 <parameter_description> filled with the image width, or -1 if the value cannot be obtained.
2738 </parameter_description>
2739 </parameter>
2740 <parameter name="height">
2741 <parameter_description> filled with the image height, or -1 if the value cannot be obtained.
2742 </parameter_description>
2743 </parameter>
2744 </parameters>
2745 <return></return>
2746 </function>
2747
2748 <function name="atk_image_set_image_description">
2749 <description>
2750 Sets the textual description for this image.
2751
2752
2753 </description>
2754 <parameters>
2755 <parameter name="image">
2756 <parameter_description> a #GObject instance that implements AtkImageIface
2757 </parameter_description>
2758 </parameter>
2759 <parameter name="description">
2760 <parameter_description> a string description to set for @image
2761 </parameter_description>
2762 </parameter>
2763 </parameters>
2764 <return> boolean TRUE, or FALSE if operation could
2765 not be completed.
2766 </return>
2767 </function>
2768
2769 <function name="atk_implementor_ref_accessible">
2770 <description>
2771 Gets a reference to an object's #AtkObject implementation, if
2772 the object implements #AtkObjectIface
2773
2774
2775 </description>
2776 <parameters>
2777 <parameter name="implementor">
2778 <parameter_description> The #GObject instance which should implement #AtkImplementorIface
2779 if a non-null return value is required.
2780 </parameter_description>
2781 </parameter>
2782 </parameters>
2783 <return> a reference to an object's #AtkObject
2784 implementation
2785 </return>
2786 </function>
2787
2788 <function name="atk_misc_get_instance">
2789 <description>
2790 Obtain the singleton instance of AtkMisc for this application.
2791
2792 Since: 1.13
2793
2794 Deprecated: Since 2.12.
2795
2796
2797 </description>
2798 <parameters>
2799 </parameters>
2800 <return> The singleton instance of AtkMisc for this application.
2801
2802 </return>
2803 </function>
2804
2805 <function name="atk_misc_threads_enter">
2806 <description>
2807 Take the thread mutex for the GUI toolkit,
2808 if one exists.
2809 (This method is implemented by the toolkit ATK implementation layer;
2810 for instance, for GTK+, GAIL implements this via GDK_THREADS_ENTER).
2811
2812 Deprecated: Since 2.12.
2813
2814 Since: 1.13
2815
2816
2817 </description>
2818 <parameters>
2819 <parameter name="misc">
2820 <parameter_description> an AtkMisc instance for this application.
2821 </parameter_description>
2822 </parameter>
2823 </parameters>
2824 <return></return>
2825 </function>
2826
2827 <function name="atk_misc_threads_leave">
2828 <description>
2829 Release the thread mutex for the GUI toolkit,
2830 if one exists. This method, and atk_misc_threads_enter,
2831 are needed in some situations by threaded application code which
2832 services ATK requests, since fulfilling ATK requests often
2833 requires calling into the GUI toolkit. If a long-running or
2834 potentially blocking call takes place inside such a block, it should
2835 be bracketed by atk_misc_threads_leave/atk_misc_threads_enter calls.
2836 (This method is implemented by the toolkit ATK implementation layer;
2837 for instance, for GTK+, GAIL implements this via GDK_THREADS_LEAVE).
2838
2839 Deprecated: Since 2.12.
2840
2841 Since: 1.13
2842
2843
2844 </description>
2845 <parameters>
2846 <parameter name="misc">
2847 <parameter_description> an AtkMisc instance for this application.
2848 </parameter_description>
2849 </parameter>
2850 </parameters>
2851 <return></return>
2852 </function>
2853
2854 <function name="atk_no_op_object_factory_new">
2855 <description>
2856 Creates an instance of an #AtkObjectFactory which generates primitive
2857 (non-functioning) #AtkObjects.
2858
2859
2860 </description>
2861 <parameters>
2862 </parameters>
2863 <return> an instance of an #AtkObjectFactory
2864 </return>
2865 </function>
2866
2867 <function name="atk_no_op_object_new">
2868 <description>
2869 Provides a default (non-functioning stub) #AtkObject.
2870 Application maintainers should not use this method.
2871
2872
2873 </description>
2874 <parameters>
2875 <parameter name="obj">
2876 <parameter_description> a #GObject
2877 </parameter_description>
2878 </parameter>
2879 </parameters>
2880 <return> a default (non-functioning stub) #AtkObject
2881 </return>
2882 </function>
2883
2884 <function name="atk_object_add_relationship">
2885 <description>
2886 Adds a relationship of the specified type with the specified target.
2887
2888
2889 </description>
2890 <parameters>
2891 <parameter name="object">
2892 <parameter_description> The #AtkObject to which an AtkRelation is to be added.
2893 </parameter_description>
2894 </parameter>
2895 <parameter name="relationship">
2896 <parameter_description> The #AtkRelationType of the relation
2897 </parameter_description>
2898 </parameter>
2899 <parameter name="target">
2900 <parameter_description> The #AtkObject which is to be the target of the relation.
2901 </parameter_description>
2902 </parameter>
2903 </parameters>
2904 <return> TRUE if the relationship is added.
2905 </return>
2906 </function>
2907
2908 <function name="atk_object_connect_property_change_handler">
2909 <description>
2910 Deprecated: Since 2.12. Connect directly to property-change or
2911 notify signals.
2912
2913
2914 </description>
2915 <parameters>
2916 <parameter name="accessible">
2917 <parameter_description> an #AtkObject
2918 </parameter_description>
2919 </parameter>
2920 <parameter name="handler">
2921 <parameter_description> a function to be called when a property changes its value
2922 </parameter_description>
2923 </parameter>
2924 </parameters>
2925 <return> a #guint which is the handler id used in
2926 atk_object_remove_property_change_handler()
2927 </return>
2928 </function>
2929
2930 <function name="atk_object_factory_create_accessible">
2931 <description>
2932 Provides an #AtkObject that implements an accessibility interface
2933 on behalf of @obj
2934
2935
2936 </description>
2937 <parameters>
2938 <parameter name="factory">
2939 <parameter_description> The #AtkObjectFactory associated with @obj's
2940 object type
2941 </parameter_description>
2942 </parameter>
2943 <parameter name="obj">
2944 <parameter_description> a #GObject
2945 </parameter_description>
2946 </parameter>
2947 </parameters>
2948 <return> an #AtkObject that implements an accessibility
2949 interface on behalf of @obj
2950 </return>
2951 </function>
2952
2953 <function name="atk_object_factory_get_accessible_type">
2954 <description>
2955 Gets the GType of the accessible which is created by the factory.
2956
2957 </description>
2958 <parameters>
2959 <parameter name="factory">
2960 <parameter_description> an #AtkObjectFactory
2961 </parameter_description>
2962 </parameter>
2963 </parameters>
2964 <return> the type of the accessible which is created by the @factory.
2965 The value G_TYPE_INVALID is returned if no type if found.
2966 </return>
2967 </function>
2968
2969 <function name="atk_object_factory_invalidate">
2970 <description>
2971 Inform @factory that it is no longer being used to create
2972 accessibles. When called, @factory may need to inform
2973 #AtkObjects which it has created that they need to be re-instantiated.
2974 Note: primarily used for runtime replacement of #AtkObjectFactorys
2975 in object registries.
2976
2977 </description>
2978 <parameters>
2979 <parameter name="factory">
2980 <parameter_description> an #AtkObjectFactory to invalidate
2981 </parameter_description>
2982 </parameter>
2983 </parameters>
2984 <return></return>
2985 </function>
2986
2987 <function name="atk_object_get_attributes">
2988 <description>
2989 Get a list of properties applied to this object as a whole, as an #AtkAttributeSet consisting of
2990 name-value pairs. As such these attributes may be considered weakly-typed properties or annotations,
2991 as distinct from strongly-typed object data available via other get/set methods.
2992 Not all objects have explicit &quot;name-value pair&quot; #AtkAttributeSet properties.
2993
2994 Since: 1.12
2995
2996
2997 </description>
2998 <parameters>
2999 <parameter name="accessible">
3000 <parameter_description> An #AtkObject.
3001 </parameter_description>
3002 </parameter>
3003 </parameters>
3004 <return> an #AtkAttributeSet consisting of all
3005 explicit properties/annotations applied to the object, or an empty
3006 set if the object has no name-value pair attributes assigned to
3007 it. This #atkattributeset should be freed by a call to
3008 atk_attribute_set_free().
3009 </return>
3010 </function>
3011
3012 <function name="atk_object_get_description">
3013 <description>
3014 Gets the accessible description of the accessible.
3015
3016
3017 </description>
3018 <parameters>
3019 <parameter name="accessible">
3020 <parameter_description> an #AtkObject
3021 </parameter_description>
3022 </parameter>
3023 </parameters>
3024 <return> a character string representing the accessible description
3025 of the accessible.
3026
3027 </return>
3028 </function>
3029
3030 <function name="atk_object_get_index_in_parent">
3031 <description>
3032 Gets the 0-based index of this accessible in its parent; returns -1 if the
3033 accessible does not have an accessible parent.
3034
3035
3036 </description>
3037 <parameters>
3038 <parameter name="accessible">
3039 <parameter_description> an #AtkObject
3040 </parameter_description>
3041 </parameter>
3042 </parameters>
3043 <return> an integer which is the index of the accessible in its parent
3044 </return>
3045 </function>
3046
3047 <function name="atk_object_get_layer">
3048 <description>
3049 Gets the layer of the accessible.
3050
3051 Deprecated: Use atk_component_get_layer instead.
3052
3053
3054 </description>
3055 <parameters>
3056 <parameter name="accessible">
3057 <parameter_description> an #AtkObject
3058 </parameter_description>
3059 </parameter>
3060 </parameters>
3061 <return> an #AtkLayer which is the layer of the accessible
3062 </return>
3063 </function>
3064
3065 <function name="atk_object_get_mdi_zorder">
3066 <description>
3067 Gets the zorder of the accessible. The value G_MININT will be returned
3068 if the layer of the accessible is not ATK_LAYER_MDI.
3069
3070 Deprecated: Use atk_component_get_mdi_zorder instead.
3071
3072
3073 </description>
3074 <parameters>
3075 <parameter name="accessible">
3076 <parameter_description> an #AtkObject
3077 </parameter_description>
3078 </parameter>
3079 </parameters>
3080 <return> a gint which is the zorder of the accessible, i.e. the depth at
3081 which the component is shown in relation to other components in the same
3082 container.
3083
3084 </return>
3085 </function>
3086
3087 <function name="atk_object_get_n_accessible_children">
3088 <description>
3089 Gets the number of accessible children of the accessible.
3090
3091
3092 </description>
3093 <parameters>
3094 <parameter name="accessible">
3095 <parameter_description> an #AtkObject
3096 </parameter_description>
3097 </parameter>
3098 </parameters>
3099 <return> an integer representing the number of accessible children
3100 of the accessible.
3101 </return>
3102 </function>
3103
3104 <function name="atk_object_get_name">
3105 <description>
3106 Gets the accessible name of the accessible.
3107
3108
3109 </description>
3110 <parameters>
3111 <parameter name="accessible">
3112 <parameter_description> an #AtkObject
3113 </parameter_description>
3114 </parameter>
3115 </parameters>
3116 <return> a character string representing the accessible name of the object.
3117 </return>
3118 </function>
3119
3120 <function name="atk_object_get_object_locale">
3121 <description>
3122 Gets a UTF-8 string indicating the POSIX-style LC_MESSAGES locale
3123 of @accessible.
3124
3125 Since: 2.8
3126
3127
3128 </description>
3129 <parameters>
3130 <parameter name="accessible">
3131 <parameter_description> an #AtkObject
3132 </parameter_description>
3133 </parameter>
3134 </parameters>
3135 <return> a UTF-8 string indicating the POSIX-style LC_MESSAGES
3136 locale of @accessible.
3137 </return>
3138 </function>
3139
3140 <function name="atk_object_get_parent">
3141 <description>
3142 Gets the accessible parent of the accessible. By default this is
3143 the one assigned with atk_object_set_parent(), but it is assumed
3144 that ATK implementors have ways to get the parent of the object
3145 without the need of assigning it manually with
3146 atk_object_set_parent(), and will return it with this method.
3147
3148 If you are only interested on the parent assigned with
3149 atk_object_set_parent(), use atk_object_peek_parent().
3150
3151
3152 </description>
3153 <parameters>
3154 <parameter name="accessible">
3155 <parameter_description> an #AtkObject
3156 </parameter_description>
3157 </parameter>
3158 </parameters>
3159 <return> an #AtkObject representing the accessible
3160 parent of the accessible
3161 </return>
3162 </function>
3163
3164 <function name="atk_object_get_role">
3165 <description>
3166 Gets the role of the accessible.
3167
3168
3169 </description>
3170 <parameters>
3171 <parameter name="accessible">
3172 <parameter_description> an #AtkObject
3173 </parameter_description>
3174 </parameter>
3175 </parameters>
3176 <return> an #AtkRole which is the role of the accessible
3177 </return>
3178 </function>
3179
3180 <function name="atk_object_initialize">
3181 <description>
3182 This function is called when implementing subclasses of #AtkObject.
3183 It does initialization required for the new object. It is intended
3184 that this function should called only in the ..._new() functions used
3185 to create an instance of a subclass of #AtkObject
3186
3187 </description>
3188 <parameters>
3189 <parameter name="accessible">
3190 <parameter_description> a #AtkObject
3191 </parameter_description>
3192 </parameter>
3193 <parameter name="data">
3194 <parameter_description> a #gpointer which identifies the object for which the AtkObject was created.
3195 </parameter_description>
3196 </parameter>
3197 </parameters>
3198 <return></return>
3199 </function>
3200
3201 <function name="atk_object_notify_state_change">
3202 <description>
3203 Emits a state-change signal for the specified state.
3204
3205 Note that as a general rule when the state of an existing object changes,
3206 emitting a notification is expected.
3207
3208 </description>
3209 <parameters>
3210 <parameter name="accessible">
3211 <parameter_description> an #AtkObject
3212 </parameter_description>
3213 </parameter>
3214 <parameter name="state">
3215 <parameter_description> an #AtkState whose state is changed
3216 </parameter_description>
3217 </parameter>
3218 <parameter name="value">
3219 <parameter_description> a gboolean which indicates whether the state is being set on or off
3220 </parameter_description>
3221 </parameter>
3222 </parameters>
3223 <return></return>
3224 </function>
3225
3226 <function name="atk_object_peek_parent">
3227 <description>
3228 Gets the accessible parent of the accessible, if it has been
3229 manually assigned with atk_object_set_parent. Otherwise, this
3230 function returns %NULL.
3231
3232 This method is intended as an utility for ATK implementors, and not
3233 to be exposed to accessible tools. See atk_object_get_parent() for
3234 further reference.
3235
3236
3237 </description>
3238 <parameters>
3239 <parameter name="accessible">
3240 <parameter_description> an #AtkObject
3241 </parameter_description>
3242 </parameter>
3243 </parameters>
3244 <return> an #AtkObject representing the accessible
3245 parent of the accessible if assigned
3246 </return>
3247 </function>
3248
3249 <function name="atk_object_ref_accessible_child">
3250 <description>
3251 Gets a reference to the specified accessible child of the object.
3252 The accessible children are 0-based so the first accessible child is
3253 at index 0, the second at index 1 and so on.
3254
3255
3256 </description>
3257 <parameters>
3258 <parameter name="accessible">
3259 <parameter_description> an #AtkObject
3260 </parameter_description>
3261 </parameter>
3262 <parameter name="i">
3263 <parameter_description> a gint representing the position of the child, starting from 0
3264 </parameter_description>
3265 </parameter>
3266 </parameters>
3267 <return> an #AtkObject representing the specified
3268 accessible child of the accessible.
3269 </return>
3270 </function>
3271
3272 <function name="atk_object_ref_relation_set">
3273 <description>
3274 Gets the #AtkRelationSet associated with the object.
3275
3276
3277 </description>
3278 <parameters>
3279 <parameter name="accessible">
3280 <parameter_description> an #AtkObject
3281 </parameter_description>
3282 </parameter>
3283 </parameters>
3284 <return> an #AtkRelationSet representing the relation set
3285 of the object.
3286 </return>
3287 </function>
3288
3289 <function name="atk_object_ref_state_set">
3290 <description>
3291 Gets a reference to the state set of the accessible; the caller must
3292 unreference it when it is no longer needed.
3293
3294
3295 </description>
3296 <parameters>
3297 <parameter name="accessible">
3298 <parameter_description> an #AtkObject
3299 </parameter_description>
3300 </parameter>
3301 </parameters>
3302 <return> a reference to an #AtkStateSet which is the state
3303 set of the accessible
3304 </return>
3305 </function>
3306
3307 <function name="atk_object_remove_property_change_handler">
3308 <description>
3309 Deprecated: Since 2.12.
3310
3311 Removes a property change handler.
3312
3313 </description>
3314 <parameters>
3315 <parameter name="accessible">
3316 <parameter_description> an #AtkObject
3317 </parameter_description>
3318 </parameter>
3319 <parameter name="handler_id">
3320 <parameter_description> a guint which identifies the handler to be removed.
3321 </parameter_description>
3322 </parameter>
3323 </parameters>
3324 <return></return>
3325 </function>
3326
3327 <function name="atk_object_remove_relationship">
3328 <description>
3329 Removes a relationship of the specified type with the specified target.
3330
3331
3332 </description>
3333 <parameters>
3334 <parameter name="object">
3335 <parameter_description> The #AtkObject from which an AtkRelation is to be removed.
3336 </parameter_description>
3337 </parameter>
3338 <parameter name="relationship">
3339 <parameter_description> The #AtkRelationType of the relation
3340 </parameter_description>
3341 </parameter>
3342 <parameter name="target">
3343 <parameter_description> The #AtkObject which is the target of the relation to be removed.
3344 </parameter_description>
3345 </parameter>
3346 </parameters>
3347 <return> TRUE if the relationship is removed.
3348 </return>
3349 </function>
3350
3351 <function name="atk_object_set_description">
3352 <description>
3353 Sets the accessible description of the accessible. You can't set
3354 the description to NULL. This is reserved for the initial value. In
3355 this aspect NULL is similar to ATK_ROLE_UNKNOWN. If you want to set
3356 the name to a empty value you can use &quot;&quot;.
3357
3358 </description>
3359 <parameters>
3360 <parameter name="accessible">
3361 <parameter_description> an #AtkObject
3362 </parameter_description>
3363 </parameter>
3364 <parameter name="description">
3365 <parameter_description> a character string to be set as the accessible description
3366 </parameter_description>
3367 </parameter>
3368 </parameters>
3369 <return></return>
3370 </function>
3371
3372 <function name="atk_object_set_name">
3373 <description>
3374 Sets the accessible name of the accessible. You can't set the name
3375 to NULL. This is reserved for the initial value. In this aspect
3376 NULL is similar to ATK_ROLE_UNKNOWN. If you want to set the name to
3377 a empty value you can use &quot;&quot;.
3378
3379 </description>
3380 <parameters>
3381 <parameter name="accessible">
3382 <parameter_description> an #AtkObject
3383 </parameter_description>
3384 </parameter>
3385 <parameter name="name">
3386 <parameter_description> a character string to be set as the accessible name
3387 </parameter_description>
3388 </parameter>
3389 </parameters>
3390 <return></return>
3391 </function>
3392
3393 <function name="atk_object_set_parent">
3394 <description>
3395 Sets the accessible parent of the accessible. @parent can be NULL.
3396
3397 </description>
3398 <parameters>
3399 <parameter name="accessible">
3400 <parameter_description> an #AtkObject
3401 </parameter_description>
3402 </parameter>
3403 <parameter name="parent">
3404 <parameter_description> an #AtkObject to be set as the accessible parent
3405 </parameter_description>
3406 </parameter>
3407 </parameters>
3408 <return></return>
3409 </function>
3410
3411 <function name="atk_object_set_role">
3412 <description>
3413 Sets the role of the accessible.
3414
3415 </description>
3416 <parameters>
3417 <parameter name="accessible">
3418 <parameter_description> an #AtkObject
3419 </parameter_description>
3420 </parameter>
3421 <parameter name="role">
3422 <parameter_description> an #AtkRole to be set as the role
3423 </parameter_description>
3424 </parameter>
3425 </parameters>
3426 <return></return>
3427 </function>
3428
3429 <function name="atk_plug_get_id">
3430 <description>
3431 Gets the unique ID of an #AtkPlug object, which can be used to
3432 embed inside of an #AtkSocket using atk_socket_embed().
3433
3434 Internally, this calls a class function that should be registered
3435 by the IPC layer (usually at-spi2-atk). The implementor of an
3436 #AtkPlug object should call this function (after atk-bridge is
3437 loaded) and pass the value to the process implementing the
3438 #AtkSocket, so it could embed the plug.
3439
3440 Since: 1.30
3441
3442 </description>
3443 <parameters>
3444 <parameter name="plug">
3445 <parameter_description> an #AtkPlug
3446 </parameter_description>
3447 </parameter>
3448 </parameters>
3449 <return> the unique ID for the plug
3450
3451 </return>
3452 </function>
3453
3454 <function name="atk_range_copy">
3455 <description>
3456 Returns a new #AtkRange that is a exact copy of @src
3457
3458 Since: 2.12
3459
3460
3461 </description>
3462 <parameters>
3463 <parameter name="src">
3464 <parameter_description> #AtkRange to copy
3465 </parameter_description>
3466 </parameter>
3467 </parameters>
3468 <return> a new #AtkRange copy of @src
3469 </return>
3470 </function>
3471
3472 <function name="atk_range_free">
3473 <description>
3474 Free @range
3475
3476 Since: 2.12
3477
3478 </description>
3479 <parameters>
3480 <parameter name="range">
3481 <parameter_description> #AtkRange to free
3482 </parameter_description>
3483 </parameter>
3484 </parameters>
3485 <return></return>
3486 </function>
3487
3488 <function name="atk_range_get_description">
3489 <description>
3490 Returns the human readable description of @range
3491
3492 Since: 2.12
3493
3494
3495 </description>
3496 <parameters>
3497 <parameter name="range">
3498 <parameter_description> an #AtkRange
3499 </parameter_description>
3500 </parameter>
3501 </parameters>
3502 <return> the human-readable description of @range
3503 </return>
3504 </function>
3505
3506 <function name="atk_range_get_lower_limit">
3507 <description>
3508 Returns the lower limit of @range
3509
3510 Since: 2.12
3511
3512
3513 </description>
3514 <parameters>
3515 <parameter name="range">
3516 <parameter_description> an #AtkRange
3517 </parameter_description>
3518 </parameter>
3519 </parameters>
3520 <return> the lower limit of @range
3521 </return>
3522 </function>
3523
3524 <function name="atk_range_get_upper_limit">
3525 <description>
3526 Returns the upper limit of @range
3527
3528 Since: 2.12
3529
3530
3531 </description>
3532 <parameters>
3533 <parameter name="range">
3534 <parameter_description> an #AtkRange
3535 </parameter_description>
3536 </parameter>
3537 </parameters>
3538 <return> the upper limit of @range
3539 </return>
3540 </function>
3541
3542 <function name="atk_range_new">
3543 <description>
3544 Creates a new #AtkRange.
3545
3546 Since: 2.12
3547
3548
3549 </description>
3550 <parameters>
3551 <parameter name="lower_limit">
3552 <parameter_description> inferior limit for this range
3553 </parameter_description>
3554 </parameter>
3555 <parameter name="upper_limit">
3556 <parameter_description> superior limit for this range
3557 </parameter_description>
3558 </parameter>
3559 <parameter name="description">
3560 <parameter_description> human readable description of this range.
3561 </parameter_description>
3562 </parameter>
3563 </parameters>
3564 <return> a new #AtkRange
3565
3566 </return>
3567 </function>
3568
3569 <function name="atk_registry_get_factory">
3570 <description>
3571 Gets an #AtkObjectFactory appropriate for creating #AtkObjects
3572 appropriate for @type.
3573
3574
3575 </description>
3576 <parameters>
3577 <parameter name="registry">
3578 <parameter_description> an #AtkRegistry
3579 </parameter_description>
3580 </parameter>
3581 <parameter name="type">
3582 <parameter_description> a #GType with which to look up the associated #AtkObjectFactory
3583 </parameter_description>
3584 </parameter>
3585 </parameters>
3586 <return> an #AtkObjectFactory appropriate for creating
3587 #AtkObjects appropriate for @type.
3588 </return>
3589 </function>
3590
3591 <function name="atk_registry_get_factory_type">
3592 <description>
3593 Provides a #GType indicating the #AtkObjectFactory subclass
3594 associated with @type.
3595
3596
3597 </description>
3598 <parameters>
3599 <parameter name="registry">
3600 <parameter_description> an #AtkRegistry
3601 </parameter_description>
3602 </parameter>
3603 <parameter name="type">
3604 <parameter_description> a #GType with which to look up the associated #AtkObjectFactory
3605 subclass
3606 </parameter_description>
3607 </parameter>
3608 </parameters>
3609 <return> a #GType associated with type @type
3610 </return>
3611 </function>
3612
3613 <function name="atk_registry_set_factory_type">
3614 <description>
3615 Associate an #AtkObjectFactory subclass with a #GType. Note:
3616 The associated @factory_type will thereafter be responsible for
3617 the creation of new #AtkObject implementations for instances
3618 appropriate for @type.
3619
3620 </description>
3621 <parameters>
3622 <parameter name="registry">
3623 <parameter_description> the #AtkRegistry in which to register the type association
3624 </parameter_description>
3625 </parameter>
3626 <parameter name="type">
3627 <parameter_description> an #AtkObject type
3628 </parameter_description>
3629 </parameter>
3630 <parameter name="factory_type">
3631 <parameter_description> an #AtkObjectFactory type to associate with @type. Must
3632 implement AtkObject appropriate for @type.
3633 </parameter_description>
3634 </parameter>
3635 </parameters>
3636 <return></return>
3637 </function>
3638
3639 <function name="atk_relation_add_target">
3640 <description>
3641 Adds the specified AtkObject to the target for the relation, if it is
3642 not already present. See also atk_object_add_relationship().
3643
3644
3645 Since: 1.9
3646
3647 </description>
3648 <parameters>
3649 <parameter name="relation">
3650 <parameter_description> an #AtkRelation
3651 </parameter_description>
3652 </parameter>
3653 <parameter name="target">
3654 <parameter_description> an #AtkObject
3655 </parameter_description>
3656 </parameter>
3657 </parameters>
3658 <return></return>
3659 </function>
3660
3661 <function name="atk_relation_get_relation_type">
3662 <description>
3663 Gets the type of @relation
3664
3665
3666 </description>
3667 <parameters>
3668 <parameter name="relation">
3669 <parameter_description> an #AtkRelation
3670 </parameter_description>
3671 </parameter>
3672 </parameters>
3673 <return> the type of @relation
3674 </return>
3675 </function>
3676
3677 <function name="atk_relation_get_target">
3678 <description>
3679 Gets the target list of @relation
3680
3681
3682 </description>
3683 <parameters>
3684 <parameter name="relation">
3685 <parameter_description> an #AtkRelation
3686 </parameter_description>
3687 </parameter>
3688 </parameters>
3689 <return> the target list of @relation
3690 </return>
3691 </function>
3692
3693 <function name="atk_relation_new">
3694 <description>
3695 Create a new relation for the specified key and the specified list
3696 of targets. See also atk_object_add_relationship().
3697
3698
3699 </description>
3700 <parameters>
3701 <parameter name="targets">
3702 <parameter_description> an array of pointers to
3703 #AtkObjects
3704 </parameter_description>
3705 </parameter>
3706 <parameter name="n_targets">
3707 <parameter_description> number of #AtkObjects pointed to by @targets
3708 </parameter_description>
3709 </parameter>
3710 <parameter name="relationship">
3711 <parameter_description> an #AtkRelationType with which to create the new
3712 #AtkRelation
3713 </parameter_description>
3714 </parameter>
3715 </parameters>
3716 <return> a pointer to a new #AtkRelation
3717 </return>
3718 </function>
3719
3720 <function name="atk_relation_remove_target">
3721 <description>
3722 Remove the specified AtkObject from the target for the relation.
3723
3724
3725 </description>
3726 <parameters>
3727 <parameter name="relation">
3728 <parameter_description> an #AtkRelation
3729 </parameter_description>
3730 </parameter>
3731 <parameter name="target">
3732 <parameter_description> an #AtkObject
3733 </parameter_description>
3734 </parameter>
3735 </parameters>
3736 <return> TRUE if the removal is successful.
3737 </return>
3738 </function>
3739
3740 <function name="atk_relation_set_add">
3741 <description>
3742 Add a new relation to the current relation set if it is not already
3743 present.
3744 This function ref's the AtkRelation so the caller of this function
3745 should unref it to ensure that it will be destroyed when the AtkRelationSet
3746 is destroyed.
3747
3748 </description>
3749 <parameters>
3750 <parameter name="set">
3751 <parameter_description> an #AtkRelationSet
3752 </parameter_description>
3753 </parameter>
3754 <parameter name="relation">
3755 <parameter_description> an #AtkRelation
3756 </parameter_description>
3757 </parameter>
3758 </parameters>
3759 <return></return>
3760 </function>
3761
3762 <function name="atk_relation_set_add_relation_by_type">
3763 <description>
3764 Add a new relation of the specified type with the specified target to
3765 the current relation set if the relation set does not contain a relation
3766 of that type. If it is does contain a relation of that typea the target
3767 is added to the relation.
3768
3769 Since: 1.9
3770
3771 </description>
3772 <parameters>
3773 <parameter name="set">
3774 <parameter_description> an #AtkRelationSet
3775 </parameter_description>
3776 </parameter>
3777 <parameter name="relationship">
3778 <parameter_description> an #AtkRelationType
3779 </parameter_description>
3780 </parameter>
3781 <parameter name="target">
3782 <parameter_description> an #AtkObject
3783 </parameter_description>
3784 </parameter>
3785 </parameters>
3786 <return></return>
3787 </function>
3788
3789 <function name="atk_relation_set_contains">
3790 <description>
3791 Determines whether the relation set contains a relation that matches the
3792 specified type.
3793
3794
3795 </description>
3796 <parameters>
3797 <parameter name="set">
3798 <parameter_description> an #AtkRelationSet
3799 </parameter_description>
3800 </parameter>
3801 <parameter name="relationship">
3802 <parameter_description> an #AtkRelationType
3803 </parameter_description>
3804 </parameter>
3805 </parameters>
3806 <return> %TRUE if @relationship is the relationship type of a relation
3807 in @set, %FALSE otherwise
3808 </return>
3809 </function>
3810
3811 <function name="atk_relation_set_contains_target">
3812 <description>
3813 Determines whether the relation set contains a relation that
3814 matches the specified pair formed by type @relationship and object
3815 @target.
3816
3817
3818 </description>
3819 <parameters>
3820 <parameter name="set">
3821 <parameter_description> an #AtkRelationSet
3822 </parameter_description>
3823 </parameter>
3824 <parameter name="relationship">
3825 <parameter_description> an #AtkRelationType
3826 </parameter_description>
3827 </parameter>
3828 <parameter name="target">
3829 <parameter_description> an #AtkObject
3830 </parameter_description>
3831 </parameter>
3832 </parameters>
3833 <return> %TRUE if @set contains a relation with the relationship
3834 type @relationship with an object @target, %FALSE otherwise
3835 </return>
3836 </function>
3837
3838 <function name="atk_relation_set_get_n_relations">
3839 <description>
3840 Determines the number of relations in a relation set.
3841
3842
3843 </description>
3844 <parameters>
3845 <parameter name="set">
3846 <parameter_description> an #AtkRelationSet
3847 </parameter_description>
3848 </parameter>
3849 </parameters>
3850 <return> an integer representing the number of relations in the set.
3851 </return>
3852 </function>
3853
3854 <function name="atk_relation_set_get_relation">
3855 <description>
3856 Determines the relation at the specified position in the relation set.
3857
3858
3859 </description>
3860 <parameters>
3861 <parameter name="set">
3862 <parameter_description> an #AtkRelationSet
3863 </parameter_description>
3864 </parameter>
3865 <parameter name="i">
3866 <parameter_description> a gint representing a position in the set, starting from 0.
3867 </parameter_description>
3868 </parameter>
3869 </parameters>
3870 <return> a #AtkRelation, which is the relation at
3871 position i in the set.
3872 </return>
3873 </function>
3874
3875 <function name="atk_relation_set_get_relation_by_type">
3876 <description>
3877 Finds a relation that matches the specified type.
3878
3879
3880 </description>
3881 <parameters>
3882 <parameter name="set">
3883 <parameter_description> an #AtkRelationSet
3884 </parameter_description>
3885 </parameter>
3886 <parameter name="relationship">
3887 <parameter_description> an #AtkRelationType
3888 </parameter_description>
3889 </parameter>
3890 </parameters>
3891 <return> an #AtkRelation, which is a relation matching the
3892 specified type.
3893 </return>
3894 </function>
3895
3896 <function name="atk_relation_set_new">
3897 <description>
3898 Creates a new empty relation set.
3899
3900
3901 </description>
3902 <parameters>
3903 </parameters>
3904 <return> a new #AtkRelationSet
3905 </return>
3906 </function>
3907
3908 <function name="atk_relation_set_remove">
3909 <description>
3910 Removes a relation from the relation set.
3911 This function unref's the #AtkRelation so it will be deleted unless there
3912 is another reference to it.
3913
3914 </description>
3915 <parameters>
3916 <parameter name="set">
3917 <parameter_description> an #AtkRelationSet
3918 </parameter_description>
3919 </parameter>
3920 <parameter name="relation">
3921 <parameter_description> an #AtkRelation
3922 </parameter_description>
3923 </parameter>
3924 </parameters>
3925 <return></return>
3926 </function>
3927
3928 <function name="atk_relation_type_for_name">
3929 <description>
3930 Get the #AtkRelationType type corresponding to a relation name.
3931
3932
3933 </description>
3934 <parameters>
3935 <parameter name="name">
3936 <parameter_description> a string which is the (non-localized) name of an ATK relation type.
3937 </parameter_description>
3938 </parameter>
3939 </parameters>
3940 <return> the #AtkRelationType enumerated type corresponding to the specified name,
3941 or #ATK_RELATION_NULL if no matching relation type is found.
3942 </return>
3943 </function>
3944
3945 <function name="atk_relation_type_get_name">
3946 <description>
3947 Gets the description string describing the #AtkRelationType @type.
3948
3949
3950 </description>
3951 <parameters>
3952 <parameter name="type">
3953 <parameter_description> The #AtkRelationType whose name is required
3954 </parameter_description>
3955 </parameter>
3956 </parameters>
3957 <return> the string describing the AtkRelationType
3958 </return>
3959 </function>
3960
3961 <function name="atk_relation_type_register">
3962 <description>
3963 Associate @name with a new #AtkRelationType
3964
3965
3966 </description>
3967 <parameters>
3968 <parameter name="name">
3969 <parameter_description> a name string
3970 </parameter_description>
3971 </parameter>
3972 </parameters>
3973 <return> an #AtkRelationType associated with @name
3974 </return>
3975 </function>
3976
3977 <function name="atk_remove_focus_tracker">
3978 <description>
3979 Deprecated: 2.9.4: Focus tracking has been dropped as a feature
3980 to be implemented by ATK itself. If you need focus tracking on your
3981 implementation, subscribe to the #AtkObject::state-change &quot;focused&quot; signal.
3982
3983 Removes the specified focus tracker from the list of functions
3984 to be called when any object receives focus.
3985
3986 </description>
3987 <parameters>
3988 <parameter name="tracker_id">
3989 <parameter_description> the id of the focus tracker to remove
3990 </parameter_description>
3991 </parameter>
3992 </parameters>
3993 <return></return>
3994 </function>
3995
3996 <function name="atk_remove_global_event_listener">
3997 <description>
3998 @listener_id is the value returned by #atk_add_global_event_listener
3999 when you registered that event listener.
4000
4001 Toolkit implementor note: ATK provides a default implementation for
4002 this virtual method. ATK implementors are discouraged from
4003 reimplementing this method.
4004
4005 Toolkit implementor note: this method is not intended to be used by
4006 ATK implementors but by ATK consumers.
4007
4008 Removes the specified event listener
4009
4010 </description>
4011 <parameters>
4012 <parameter name="listener_id">
4013 <parameter_description> the id of the event listener to remove
4014 </parameter_description>
4015 </parameter>
4016 </parameters>
4017 <return></return>
4018 </function>
4019
4020 <function name="atk_remove_key_event_listener">
4021 <description>
4022 @listener_id is the value returned by #atk_add_key_event_listener
4023 when you registered that event listener.
4024
4025 Removes the specified event listener.
4026
4027 </description>
4028 <parameters>
4029 <parameter name="listener_id">
4030 <parameter_description> the id of the event listener to remove
4031 </parameter_description>
4032 </parameter>
4033 </parameters>
4034 <return></return>
4035 </function>
4036
4037 <function name="atk_role_for_name">
4038 <description>
4039 Get the #AtkRole type corresponding to a rolew name.
4040
4041
4042 </description>
4043 <parameters>
4044 <parameter name="name">
4045 <parameter_description> a string which is the (non-localized) name of an ATK role.
4046 </parameter_description>
4047 </parameter>
4048 </parameters>
4049 <return> the #AtkRole enumerated type corresponding to the specified name,
4050 or #ATK_ROLE_INVALID if no matching role is found.
4051 </return>
4052 </function>
4053
4054 <function name="atk_role_get_localized_name">
4055 <description>
4056 Gets the localized description string describing the #AtkRole @role.
4057
4058
4059 </description>
4060 <parameters>
4061 <parameter name="role">
4062 <parameter_description> The #AtkRole whose localized name is required
4063 </parameter_description>
4064 </parameter>
4065 </parameters>
4066 <return> the localized string describing the AtkRole
4067 </return>
4068 </function>
4069
4070 <function name="atk_role_get_name">
4071 <description>
4072 Gets the description string describing the #AtkRole @role.
4073
4074
4075 </description>
4076 <parameters>
4077 <parameter name="role">
4078 <parameter_description> The #AtkRole whose name is required
4079 </parameter_description>
4080 </parameter>
4081 </parameters>
4082 <return> the string describing the AtkRole
4083 </return>
4084 </function>
4085
4086 <function name="atk_role_register">
4087 <description>
4088 Registers the role specified by @name. @name must be a meaningful
4089 name. So it should not be empty, or consisting on whitespaces.
4090
4091 Deprecated: Since 2.12. If your application/toolkit doesn't find a
4092 suitable role for a specific object defined at #AtkRole, please
4093 submit a bug in order to add a new role to the specification.
4094
4095
4096 </description>
4097 <parameters>
4098 <parameter name="name">
4099 <parameter_description> a character string describing the new role.
4100 </parameter_description>
4101 </parameter>
4102 </parameters>
4103 <return> an #AtkRole for the new role if added
4104 properly. ATK_ROLE_INVALID in case of error.
4105 </return>
4106 </function>
4107
4108 <function name="atk_selection_add_selection">
4109 <description>
4110 Adds the specified accessible child of the object to the
4111 object's selection.
4112
4113
4114 </description>
4115 <parameters>
4116 <parameter name="selection">
4117 <parameter_description> a #GObject instance that implements AtkSelectionIface
4118 </parameter_description>
4119 </parameter>
4120 <parameter name="i">
4121 <parameter_description> a #gint specifying the child index.
4122 </parameter_description>
4123 </parameter>
4124 </parameters>
4125 <return> TRUE if success, FALSE otherwise.
4126 </return>
4127 </function>
4128
4129 <function name="atk_selection_clear_selection">
4130 <description>
4131 Clears the selection in the object so that no children in the object
4132 are selected.
4133
4134
4135 </description>
4136 <parameters>
4137 <parameter name="selection">
4138 <parameter_description> a #GObject instance that implements AtkSelectionIface
4139 </parameter_description>
4140 </parameter>
4141 </parameters>
4142 <return> TRUE if success, FALSE otherwise.
4143 </return>
4144 </function>
4145
4146 <function name="atk_selection_get_selection_count">
4147 <description>
4148 Gets the number of accessible children currently selected.
4149 Note: callers should not rely on %NULL or on a zero value for
4150 indication of whether AtkSelectionIface is implemented, they should
4151 use type checking/interface checking macros or the
4152 atk_get_accessible_value() convenience method.
4153
4154
4155 </description>
4156 <parameters>
4157 <parameter name="selection">
4158 <parameter_description> a #GObject instance that implements AtkSelectionIface
4159 </parameter_description>
4160 </parameter>
4161 </parameters>
4162 <return> a gint representing the number of items selected, or 0
4163 if @selection does not implement this interface.
4164 </return>
4165 </function>
4166
4167 <function name="atk_selection_is_child_selected">
4168 <description>
4169 Determines if the current child of this object is selected
4170 Note: callers should not rely on %NULL or on a zero value for
4171 indication of whether AtkSelectionIface is implemented, they should
4172 use type checking/interface checking macros or the
4173 atk_get_accessible_value() convenience method.
4174
4175
4176 </description>
4177 <parameters>
4178 <parameter name="selection">
4179 <parameter_description> a #GObject instance that implements AtkSelectionIface
4180 </parameter_description>
4181 </parameter>
4182 <parameter name="i">
4183 <parameter_description> a #gint specifying the child index.
4184 </parameter_description>
4185 </parameter>
4186 </parameters>
4187 <return> a gboolean representing the specified child is selected, or 0
4188 if @selection does not implement this interface.
4189 </return>
4190 </function>
4191
4192 <function name="atk_selection_ref_selection">
4193 <description>
4194 Gets a reference to the accessible object representing the specified
4195 selected child of the object.
4196 Note: callers should not rely on %NULL or on a zero value for
4197 indication of whether AtkSelectionIface is implemented, they should
4198 use type checking/interface checking macros or the
4199 atk_get_accessible_value() convenience method.
4200
4201
4202 </description>
4203 <parameters>
4204 <parameter name="selection">
4205 <parameter_description> a #GObject instance that implements AtkSelectionIface
4206 </parameter_description>
4207 </parameter>
4208 <parameter name="i">
4209 <parameter_description> a #gint specifying the index in the selection set. (e.g. the
4210 ith selection as opposed to the ith child).
4211 </parameter_description>
4212 </parameter>
4213 </parameters>
4214 <return> an #AtkObject representing the
4215 selected accessible, or %NULL if @selection does not implement this
4216 interface.
4217 </return>
4218 </function>
4219
4220 <function name="atk_selection_remove_selection">
4221 <description>
4222 Removes the specified child of the object from the object's selection.
4223
4224
4225 </description>
4226 <parameters>
4227 <parameter name="selection">
4228 <parameter_description> a #GObject instance that implements AtkSelectionIface
4229 </parameter_description>
4230 </parameter>
4231 <parameter name="i">
4232 <parameter_description> a #gint specifying the index in the selection set. (e.g. the
4233 ith selection as opposed to the ith child).
4234 </parameter_description>
4235 </parameter>
4236 </parameters>
4237 <return> TRUE if success, FALSE otherwise.
4238 </return>
4239 </function>
4240
4241 <function name="atk_selection_select_all_selection">
4242 <description>
4243 Causes every child of the object to be selected if the object
4244 supports multiple selections.
4245
4246
4247 </description>
4248 <parameters>
4249 <parameter name="selection">
4250 <parameter_description> a #GObject instance that implements AtkSelectionIface
4251 </parameter_description>
4252 </parameter>
4253 </parameters>
4254 <return> TRUE if success, FALSE otherwise.
4255 </return>
4256 </function>
4257
4258 <function name="atk_socket_embed">
4259 <description>
4260 Embeds the children of an #AtkPlug as the children of the
4261 #AtkSocket. The plug may be in the same process or in a different
4262 process.
4263
4264 The class item used by this function should be filled in by the IPC
4265 layer (usually at-spi2-atk). The implementor of the AtkSocket
4266 should call this function and pass the id for the plug as returned
4267 by atk_plug_get_id(). It is the responsibility of the application
4268 to pass the plug id on to the process implementing the #AtkSocket
4269 as needed.
4270
4271 Since: 1.30
4272
4273 </description>
4274 <parameters>
4275 <parameter name="obj">
4276 <parameter_description> an #AtkSocket
4277 </parameter_description>
4278 </parameter>
4279 <parameter name="plug_id">
4280 <parameter_description> the ID of an #AtkPlug
4281 </parameter_description>
4282 </parameter>
4283 </parameters>
4284 <return></return>
4285 </function>
4286
4287 <function name="atk_socket_is_occupied">
4288 <description>
4289 Determines whether or not the socket has an embedded plug.
4290
4291 Since: 1.30
4292
4293 </description>
4294 <parameters>
4295 <parameter name="obj">
4296 <parameter_description> an #AtkSocket
4297 </parameter_description>
4298 </parameter>
4299 </parameters>
4300 <return> TRUE if a plug is embedded in the socket
4301
4302 </return>
4303 </function>
4304
4305 <function name="atk_state_set_add_state">
4306 <description>
4307 Adds the state of the specified type to the state set if it is not already
4308 present.
4309
4310 Note that because an #AtkStateSet is a read-only object, this method should
4311 be used to add a state to a newly-created set which will then be returned by
4312 #atk_object_ref_state_set. It should not be used to modify the existing state
4313 of an object. See also #atk_object_notify_state_change.
4314
4315
4316 </description>
4317 <parameters>
4318 <parameter name="set">
4319 <parameter_description> an #AtkStateSet
4320 </parameter_description>
4321 </parameter>
4322 <parameter name="type">
4323 <parameter_description> an #AtkStateType
4324 </parameter_description>
4325 </parameter>
4326 </parameters>
4327 <return> %TRUE if the state for @type is not already in @set.
4328 </return>
4329 </function>
4330
4331 <function name="atk_state_set_add_states">
4332 <description>
4333 Adds the states of the specified types to the state set.
4334
4335 Note that because an #AtkStateSet is a read-only object, this method should
4336 be used to add states to a newly-created set which will then be returned by
4337 #atk_object_ref_state_set. It should not be used to modify the existing state
4338 of an object. See also #atk_object_notify_state_change.
4339
4340 </description>
4341 <parameters>
4342 <parameter name="set">
4343 <parameter_description> an #AtkStateSet
4344 </parameter_description>
4345 </parameter>
4346 <parameter name="types">
4347 <parameter_description> an array of #AtkStateType
4348 </parameter_description>
4349 </parameter>
4350 <parameter name="n_types">
4351 <parameter_description> The number of elements in the array
4352 </parameter_description>
4353 </parameter>
4354 </parameters>
4355 <return></return>
4356 </function>
4357
4358 <function name="atk_state_set_and_sets">
4359 <description>
4360 Constructs the intersection of the two sets, returning %NULL if the
4361 intersection is empty.
4362
4363
4364 </description>
4365 <parameters>
4366 <parameter name="set">
4367 <parameter_description> an #AtkStateSet
4368 </parameter_description>
4369 </parameter>
4370 <parameter name="compare_set">
4371 <parameter_description> another #AtkStateSet
4372 </parameter_description>
4373 </parameter>
4374 </parameters>
4375 <return> a new #AtkStateSet which is the intersection of
4376 the two sets.
4377 </return>
4378 </function>
4379
4380 <function name="atk_state_set_clear_states">
4381 <description>
4382 Removes all states from the state set.
4383
4384 </description>
4385 <parameters>
4386 <parameter name="set">
4387 <parameter_description> an #AtkStateSet
4388 </parameter_description>
4389 </parameter>
4390 </parameters>
4391 <return></return>
4392 </function>
4393
4394 <function name="atk_state_set_contains_state">
4395 <description>
4396 Checks whether the state for the specified type is in the specified set.
4397
4398
4399 </description>
4400 <parameters>
4401 <parameter name="set">
4402 <parameter_description> an #AtkStateSet
4403 </parameter_description>
4404 </parameter>
4405 <parameter name="type">
4406 <parameter_description> an #AtkStateType
4407 </parameter_description>
4408 </parameter>
4409 </parameters>
4410 <return> %TRUE if @type is the state type is in @set.
4411 </return>
4412 </function>
4413
4414 <function name="atk_state_set_contains_states">
4415 <description>
4416 Checks whether the states for all the specified types are in the
4417 specified set.
4418
4419
4420 </description>
4421 <parameters>
4422 <parameter name="set">
4423 <parameter_description> an #AtkStateSet
4424 </parameter_description>
4425 </parameter>
4426 <parameter name="types">
4427 <parameter_description> an array of #AtkStateType
4428 </parameter_description>
4429 </parameter>
4430 <parameter name="n_types">
4431 <parameter_description> The number of elements in the array
4432 </parameter_description>
4433 </parameter>
4434 </parameters>
4435 <return> %TRUE if all the states for @type are in @set.
4436 </return>
4437 </function>
4438
4439 <function name="atk_state_set_is_empty">
4440 <description>
4441 Checks whether the state set is empty, i.e. has no states set.
4442
4443
4444 </description>
4445 <parameters>
4446 <parameter name="set">
4447 <parameter_description> an #AtkStateType
4448 </parameter_description>
4449 </parameter>
4450 </parameters>
4451 <return> %TRUE if @set has no states set, otherwise %FALSE
4452 </return>
4453 </function>
4454
4455 <function name="atk_state_set_new">
4456 <description>
4457 Creates a new empty state set.
4458
4459
4460 </description>
4461 <parameters>
4462 </parameters>
4463 <return> a new #AtkStateSet
4464 </return>
4465 </function>
4466
4467 <function name="atk_state_set_or_sets">
4468 <description>
4469 Constructs the union of the two sets.
4470
4471
4472 </description>
4473 <parameters>
4474 <parameter name="set">
4475 <parameter_description> an #AtkStateSet
4476 </parameter_description>
4477 </parameter>
4478 <parameter name="compare_set">
4479 <parameter_description> another #AtkStateSet
4480 </parameter_description>
4481 </parameter>
4482 </parameters>
4483 <return> a new #AtkStateSet which is
4484 the union of the two sets, returning %NULL is empty.
4485 </return>
4486 </function>
4487
4488 <function name="atk_state_set_remove_state">
4489 <description>
4490 Removes the state for the specified type from the state set.
4491
4492 Note that because an #AtkStateSet is a read-only object, this method should
4493 be used to remove a state to a newly-created set which will then be returned
4494 by #atk_object_ref_state_set. It should not be used to modify the existing
4495 state of an object. See also #atk_object_notify_state_change.
4496
4497
4498 </description>
4499 <parameters>
4500 <parameter name="set">
4501 <parameter_description> an #AtkStateSet
4502 </parameter_description>
4503 </parameter>
4504 <parameter name="type">
4505 <parameter_description> an #AtkType
4506 </parameter_description>
4507 </parameter>
4508 </parameters>
4509 <return> %TRUE if @type was the state type is in @set.
4510 </return>
4511 </function>
4512
4513 <function name="atk_state_set_xor_sets">
4514 <description>
4515 Constructs the exclusive-or of the two sets, returning %NULL is empty.
4516 The set returned by this operation contains the states in exactly
4517 one of the two sets.
4518
4519
4520 </description>
4521 <parameters>
4522 <parameter name="set">
4523 <parameter_description> an #AtkStateSet
4524 </parameter_description>
4525 </parameter>
4526 <parameter name="compare_set">
4527 <parameter_description> another #AtkStateSet
4528 </parameter_description>
4529 </parameter>
4530 </parameters>
4531 <return> a new #AtkStateSet which contains the states
4532 which are in exactly one of the two sets.
4533 </return>
4534 </function>
4535
4536 <function name="atk_state_type_for_name">
4537 <description>
4538 Gets the #AtkStateType corresponding to the description string @name.
4539
4540
4541 </description>
4542 <parameters>
4543 <parameter name="name">
4544 <parameter_description> a character string state name
4545 </parameter_description>
4546 </parameter>
4547 </parameters>
4548 <return> an #AtkStateType corresponding to @name
4549 </return>
4550 </function>
4551
4552 <function name="atk_state_type_get_name">
4553 <description>
4554 Gets the description string describing the #AtkStateType @type.
4555
4556
4557 </description>
4558 <parameters>
4559 <parameter name="type">
4560 <parameter_description> The #AtkStateType whose name is required
4561 </parameter_description>
4562 </parameter>
4563 </parameters>
4564 <return> the string describing the AtkStateType
4565 </return>
4566 </function>
4567
4568 <function name="atk_state_type_register">
4569 <description>
4570 Register a new object state.
4571
4572
4573 </description>
4574 <parameters>
4575 <parameter name="name">
4576 <parameter_description> a character string describing the new state.
4577 </parameter_description>
4578 </parameter>
4579 </parameters>
4580 <return> an #AtkState value for the new state.
4581 </return>
4582 </function>
4583
4584 <function name="atk_streamable_content_get_mime_type">
4585 <description>
4586 Gets the character string of the specified mime type. The first mime
4587 type is at position 0, the second at position 1, and so on.
4588
4589
4590 </description>
4591 <parameters>
4592 <parameter name="streamable">
4593 <parameter_description> a GObject instance that implements AtkStreamableContent
4594 </parameter_description>
4595 </parameter>
4596 <parameter name="i">
4597 <parameter_description> a gint representing the position of the mime type starting from 0
4598 </parameter_description>
4599 </parameter>
4600 </parameters>
4601 <return> a gchar* representing the specified mime type; the caller
4602 should not free the character string.
4603 </return>
4604 </function>
4605
4606 <function name="atk_streamable_content_get_n_mime_types">
4607 <description>
4608 Gets the number of mime types supported by this object.
4609
4610
4611 </description>
4612 <parameters>
4613 <parameter name="streamable">
4614 <parameter_description> a GObject instance that implements AtkStreamableContentIface
4615 </parameter_description>
4616 </parameter>
4617 </parameters>
4618 <return> a gint which is the number of mime types supported by the object.
4619 </return>
4620 </function>
4621
4622 <function name="atk_streamable_content_get_stream">
4623 <description>
4624 Gets the content in the specified mime type.
4625
4626
4627 </description>
4628 <parameters>
4629 <parameter name="streamable">
4630 <parameter_description> a GObject instance that implements AtkStreamableContentIface
4631 </parameter_description>
4632 </parameter>
4633 <parameter name="mime_type">
4634 <parameter_description> a gchar* representing the mime type
4635 </parameter_description>
4636 </parameter>
4637 </parameters>
4638 <return> A #GIOChannel which contains the content in the
4639 specified mime type.
4640 </return>
4641 </function>
4642
4643 <function name="atk_streamable_content_get_uri">
4644 <description>
4645 Get a string representing a URI in IETF standard format
4646 (see http://www.ietf.org/rfc/rfc2396.txt) from which the object's content
4647 may be streamed in the specified mime-type, if one is available.
4648 If mime_type is NULL, the URI for the default (and possibly only) mime-type is
4649 returned.
4650
4651 Note that it is possible for get_uri to return NULL but for
4652 get_stream to work nonetheless, since not all GIOChannels connect to URIs.
4653
4654 Since: 1.12
4655
4656 </description>
4657 <parameters>
4658 <parameter name="streamable">
4659 <parameter_description> a GObject instance that implements AtkStreamableContentIface
4660 </parameter_description>
4661 </parameter>
4662 <parameter name="mime_type">
4663 <parameter_description> a gchar* representing the mime type, or NULL to request a URI
4664 for the default mime type.
4665 </parameter_description>
4666 </parameter>
4667 </parameters>
4668 <return> Returns a string representing a URI, or %NULL
4669 if no corresponding URI can be constructed.
4670
4671 </return>
4672 </function>
4673
4674 <function name="atk_table_add_column_selection">
4675 <description>
4676 Adds the specified @column to the selection.
4677
4678
4679 </description>
4680 <parameters>
4681 <parameter name="table">
4682 <parameter_description> a GObject instance that implements AtkTableIface
4683 </parameter_description>
4684 </parameter>
4685 <parameter name="column">
4686 <parameter_description> a #gint representing a column in @table
4687 </parameter_description>
4688 </parameter>
4689 </parameters>
4690 <return> a gboolean representing if the column was successfully added to
4691 the selection, or 0 if value does not implement this interface.
4692 </return>
4693 </function>
4694
4695 <function name="atk_table_add_row_selection">
4696 <description>
4697 Adds the specified @row to the selection.
4698
4699
4700 </description>
4701 <parameters>
4702 <parameter name="table">
4703 <parameter_description> a GObject instance that implements AtkTableIface
4704 </parameter_description>
4705 </parameter>
4706 <parameter name="row">
4707 <parameter_description> a #gint representing a row in @table
4708 </parameter_description>
4709 </parameter>
4710 </parameters>
4711 <return> a gboolean representing if row was successfully added to selection,
4712 or 0 if value does not implement this interface.
4713 </return>
4714 </function>
4715
4716 <function name="atk_table_cell_get_column_header_cells">
4717 <description>
4718 Returns the column headers as an array of cell accessibles.
4719
4720 Since: 2.12
4721
4722 </description>
4723 <parameters>
4724 <parameter name="cell">
4725 <parameter_description> a GObject instance that implements AtkTableCellIface
4726 </parameter_description>
4727 </parameter>
4728 </parameters>
4729 <return> a GPtrArray of AtkObjects
4730 representing the column header cells.
4731
4732 </return>
4733 </function>
4734
4735 <function name="atk_table_cell_get_column_span">
4736 <description>
4737 Returns the number of columns occupied by this cell accessible.
4738
4739 Since: 2.12
4740
4741 </description>
4742 <parameters>
4743 <parameter name="cell">
4744 <parameter_description> a GObject instance that implements AtkTableCellIface
4745 </parameter_description>
4746 </parameter>
4747 </parameters>
4748 <return> a gint representing the number of columns occupied by this cell,
4749 or 0 if the cell does not implement this method.
4750
4751 </return>
4752 </function>
4753
4754 <function name="atk_table_cell_get_position">
4755 <description>
4756 Retrieves the tabular position of this cell.
4757
4758 Since: 2.12
4759
4760 </description>
4761 <parameters>
4762 <parameter name="cell">
4763 <parameter_description> a GObject instance that implements AtkTableCellIface
4764 </parameter_description>
4765 </parameter>
4766 <parameter name="row">
4767 <parameter_description> the row of the given cell.
4768 </parameter_description>
4769 </parameter>
4770 <parameter name="column">
4771 <parameter_description> the column of the given cell.
4772 </parameter_description>
4773 </parameter>
4774 </parameters>
4775 <return> TRUE if successful; FALSE otherwise.
4776
4777 </return>
4778 </function>
4779
4780 <function name="atk_table_cell_get_row_column_span">
4781 <description>
4782 Gets the row and column indexes and span of this cell accessible.
4783
4784 Note: If the object does not implement this function, then, by default, atk
4785 will implement this function by calling get_row_span and get_column_span
4786 on the object.
4787
4788 Since: 2.12
4789
4790 </description>
4791 <parameters>
4792 <parameter name="cell">
4793 <parameter_description> a GObject instance that implements AtkTableCellIface
4794 </parameter_description>
4795 </parameter>
4796 <parameter name="row">
4797 <parameter_description> the row index of the given cell.
4798 </parameter_description>
4799 </parameter>
4800 <parameter name="column">
4801 <parameter_description> the column index of the given cell.
4802 </parameter_description>
4803 </parameter>
4804 <parameter name="row_span">
4805 <parameter_description> the number of rows occupied by this cell.
4806 </parameter_description>
4807 </parameter>
4808 <parameter name="column_span">
4809 <parameter_description> the number of columns occupied by this cell.
4810 </parameter_description>
4811 </parameter>
4812 </parameters>
4813 <return> TRUE if successful; FALSE otherwise.
4814
4815 </return>
4816 </function>
4817
4818 <function name="atk_table_cell_get_row_header_cells">
4819 <description>
4820 Returns the row headers as an array of cell accessibles.
4821
4822 Since: 2.12
4823
4824 </description>
4825 <parameters>
4826 <parameter name="cell">
4827 <parameter_description> a GObject instance that implements AtkTableCellIface
4828 </parameter_description>
4829 </parameter>
4830 </parameters>
4831 <return> a GPtrArray of AtkObjects
4832 representing the row header cells.
4833
4834 </return>
4835 </function>
4836
4837 <function name="atk_table_cell_get_row_span">
4838 <description>
4839 Returns the number of rows occupied by this cell accessible.
4840
4841 Since: 2.12
4842
4843 </description>
4844 <parameters>
4845 <parameter name="cell">
4846 <parameter_description> a GObject instance that implements AtkTableCellIface
4847 </parameter_description>
4848 </parameter>
4849 </parameters>
4850 <return> a gint representing the number of rows occupied by this cell,
4851 or 0 if the cell does not implement this method.
4852
4853 </return>
4854 </function>
4855
4856 <function name="atk_table_cell_get_table">
4857 <description>
4858 Returns a reference to the accessible of the containing table.
4859
4860 Since: 2.12
4861
4862 </description>
4863 <parameters>
4864 <parameter name="cell">
4865 <parameter_description> a GObject instance that implements AtkTableCellIface
4866 </parameter_description>
4867 </parameter>
4868 </parameters>
4869 <return> the atk object for the containing table.
4870
4871 </return>
4872 </function>
4873
4874 <function name="atk_table_get_caption">
4875 <description>
4876 Gets the caption for the @table.
4877
4878
4879 </description>
4880 <parameters>
4881 <parameter name="table">
4882 <parameter_description> a GObject instance that implements AtkTableInterface
4883 </parameter_description>
4884 </parameter>
4885 </parameters>
4886 <return> a AtkObject* representing the
4887 table caption, or %NULL if value does not implement this interface.
4888 </return>
4889 </function>
4890
4891 <function name="atk_table_get_column_at_index">
4892 <description>
4893 Gets a #gint representing the column at the specified @index_.
4894
4895 Deprecated: Since 2.12.
4896
4897
4898 </description>
4899 <parameters>
4900 <parameter name="table">
4901 <parameter_description> a GObject instance that implements AtkTableInterface
4902 </parameter_description>
4903 </parameter>
4904 <parameter name="index_">
4905 <parameter_description> a #gint representing an index in @table
4906 </parameter_description>
4907 </parameter>
4908 </parameters>
4909 <return> a gint representing the column at the specified index,
4910 or -1 if the table does not implement this method.
4911 </return>
4912 </function>
4913
4914 <function name="atk_table_get_column_description">
4915 <description>
4916 Gets the description text of the specified @column in the table
4917
4918
4919 </description>
4920 <parameters>
4921 <parameter name="table">
4922 <parameter_description> a GObject instance that implements AtkTableIface
4923 </parameter_description>
4924 </parameter>
4925 <parameter name="column">
4926 <parameter_description> a #gint representing a column in @table
4927 </parameter_description>
4928 </parameter>
4929 </parameters>
4930 <return> a gchar* representing the column description, or %NULL
4931 if value does not implement this interface.
4932 </return>
4933 </function>
4934
4935 <function name="atk_table_get_column_extent_at">
4936 <description>
4937 Gets the number of columns occupied by the accessible object
4938 at the specified @row and @column in the @table.
4939
4940
4941 </description>
4942 <parameters>
4943 <parameter name="table">
4944 <parameter_description> a GObject instance that implements AtkTableIface
4945 </parameter_description>
4946 </parameter>
4947 <parameter name="row">
4948 <parameter_description> a #gint representing a row in @table
4949 </parameter_description>
4950 </parameter>
4951 <parameter name="column">
4952 <parameter_description> a #gint representing a column in @table
4953 </parameter_description>
4954 </parameter>
4955 </parameters>
4956 <return> a gint representing the column extent at specified position, or 0
4957 if value does not implement this interface.
4958 </return>
4959 </function>
4960
4961 <function name="atk_table_get_column_header">
4962 <description>
4963 Gets the column header of a specified column in an accessible table.
4964
4965
4966 </description>
4967 <parameters>
4968 <parameter name="table">
4969 <parameter_description> a GObject instance that implements AtkTableIface
4970 </parameter_description>
4971 </parameter>
4972 <parameter name="column">
4973 <parameter_description> a #gint representing a column in the table
4974 </parameter_description>
4975 </parameter>
4976 </parameters>
4977 <return> a AtkObject* representing the
4978 specified column header, or %NULL if value does not implement this
4979 interface.
4980 </return>
4981 </function>
4982
4983 <function name="atk_table_get_index_at">
4984 <description>
4985 Gets a #gint representing the index at the specified @row and
4986 @column.
4987
4988 Deprecated: Since 2.12. Use atk_table_ref_at() in order to get the
4989 accessible that represents the cell at (@row, @column)
4990
4991
4992 </description>
4993 <parameters>
4994 <parameter name="table">
4995 <parameter_description> a GObject instance that implements AtkTableIface
4996 </parameter_description>
4997 </parameter>
4998 <parameter name="row">
4999 <parameter_description> a #gint representing a row in @table
5000 </parameter_description>
5001 </parameter>
5002 <parameter name="column">
5003 <parameter_description> a #gint representing a column in @table
5004 </parameter_description>
5005 </parameter>
5006 </parameters>
5007 <return> a #gint representing the index at specified position.
5008 The value -1 is returned if the object at row,column is not a child
5009 of table or table does not implement this interface.
5010 </return>
5011 </function>
5012
5013 <function name="atk_table_get_n_columns">
5014 <description>
5015 Gets the number of columns in the table.
5016
5017
5018 </description>
5019 <parameters>
5020 <parameter name="table">
5021 <parameter_description> a GObject instance that implements AtkTableIface
5022 </parameter_description>
5023 </parameter>
5024 </parameters>
5025 <return> a gint representing the number of columns, or 0
5026 if value does not implement this interface.
5027 </return>
5028 </function>
5029
5030 <function name="atk_table_get_n_rows">
5031 <description>
5032 Gets the number of rows in the table.
5033
5034
5035 </description>
5036 <parameters>
5037 <parameter name="table">
5038 <parameter_description> a GObject instance that implements AtkTableIface
5039 </parameter_description>
5040 </parameter>
5041 </parameters>
5042 <return> a gint representing the number of rows, or 0
5043 if value does not implement this interface.
5044 </return>
5045 </function>
5046
5047 <function name="atk_table_get_row_at_index">
5048 <description>
5049 Gets a #gint representing the row at the specified @index_.
5050
5051 Deprecated: since 2.12.
5052
5053
5054 </description>
5055 <parameters>
5056 <parameter name="table">
5057 <parameter_description> a GObject instance that implements AtkTableInterface
5058 </parameter_description>
5059 </parameter>
5060 <parameter name="index_">
5061 <parameter_description> a #gint representing an index in @table
5062 </parameter_description>
5063 </parameter>
5064 </parameters>
5065 <return> a gint representing the row at the specified index,
5066 or -1 if the table does not implement this method.
5067 </return>
5068 </function>
5069
5070 <function name="atk_table_get_row_description">
5071 <description>
5072 Gets the description text of the specified row in the table
5073
5074
5075 </description>
5076 <parameters>
5077 <parameter name="table">
5078 <parameter_description> a GObject instance that implements AtkTableIface
5079 </parameter_description>
5080 </parameter>
5081 <parameter name="row">
5082 <parameter_description> a #gint representing a row in @table
5083 </parameter_description>
5084 </parameter>
5085 </parameters>
5086 <return> a gchar* representing the row description, or
5087 %NULL if value does not implement this interface.
5088 </return>
5089 </function>
5090
5091 <function name="atk_table_get_row_extent_at">
5092 <description>
5093 Gets the number of rows occupied by the accessible object
5094 at a specified @row and @column in the @table.
5095
5096
5097 </description>
5098 <parameters>
5099 <parameter name="table">
5100 <parameter_description> a GObject instance that implements AtkTableIface
5101 </parameter_description>
5102 </parameter>
5103 <parameter name="row">
5104 <parameter_description> a #gint representing a row in @table
5105 </parameter_description>
5106 </parameter>
5107 <parameter name="column">
5108 <parameter_description> a #gint representing a column in @table
5109 </parameter_description>
5110 </parameter>
5111 </parameters>
5112 <return> a gint representing the row extent at specified position, or 0
5113 if value does not implement this interface.
5114 </return>
5115 </function>
5116
5117 <function name="atk_table_get_row_header">
5118 <description>
5119 Gets the row header of a specified row in an accessible table.
5120
5121
5122 </description>
5123 <parameters>
5124 <parameter name="table">
5125 <parameter_description> a GObject instance that implements AtkTableIface
5126 </parameter_description>
5127 </parameter>
5128 <parameter name="row">
5129 <parameter_description> a #gint representing a row in the table
5130 </parameter_description>
5131 </parameter>
5132 </parameters>
5133 <return> a AtkObject* representing the
5134 specified row header, or %NULL if value does not implement this
5135 interface.
5136 </return>
5137 </function>
5138
5139 <function name="atk_table_get_selected_columns">
5140 <description>
5141 Gets the selected columns of the table by initializing **selected with
5142 the selected column numbers. This array should be freed by the caller.
5143
5144
5145 </description>
5146 <parameters>
5147 <parameter name="table">
5148 <parameter_description> a GObject instance that implements AtkTableIface
5149 </parameter_description>
5150 </parameter>
5151 <parameter name="selected">
5152 <parameter_description> a #gint** that is to contain the selected columns numbers
5153 </parameter_description>
5154 </parameter>
5155 </parameters>
5156 <return> a gint representing the number of selected columns,
5157 or %0 if value does not implement this interface.
5158 </return>
5159 </function>
5160
5161 <function name="atk_table_get_selected_rows">
5162 <description>
5163 Gets the selected rows of the table by initializing **selected with
5164 the selected row numbers. This array should be freed by the caller.
5165
5166
5167 </description>
5168 <parameters>
5169 <parameter name="table">
5170 <parameter_description> a GObject instance that implements AtkTableIface
5171 </parameter_description>
5172 </parameter>
5173 <parameter name="selected">
5174 <parameter_description> a #gint** that is to contain the selected row numbers
5175 </parameter_description>
5176 </parameter>
5177 </parameters>
5178 <return> a gint representing the number of selected rows,
5179 or zero if value does not implement this interface.
5180 </return>
5181 </function>
5182
5183 <function name="atk_table_get_summary">
5184 <description>
5185 Gets the summary description of the table.
5186
5187
5188 </description>
5189 <parameters>
5190 <parameter name="table">
5191 <parameter_description> a GObject instance that implements AtkTableIface
5192 </parameter_description>
5193 </parameter>
5194 </parameters>
5195 <return> a AtkObject* representing a summary description
5196 of the table, or zero if value does not implement this interface.
5197 </return>
5198 </function>
5199
5200 <function name="atk_table_is_column_selected">
5201 <description>
5202 Gets a boolean value indicating whether the specified @column
5203 is selected
5204
5205
5206 </description>
5207 <parameters>
5208 <parameter name="table">
5209 <parameter_description> a GObject instance that implements AtkTableIface
5210 </parameter_description>
5211 </parameter>
5212 <parameter name="column">
5213 <parameter_description> a #gint representing a column in @table
5214 </parameter_description>
5215 </parameter>
5216 </parameters>
5217 <return> a gboolean representing if the column is selected, or 0
5218 if value does not implement this interface.
5219 </return>
5220 </function>
5221
5222 <function name="atk_table_is_row_selected">
5223 <description>
5224 Gets a boolean value indicating whether the specified @row
5225 is selected
5226
5227
5228 </description>
5229 <parameters>
5230 <parameter name="table">
5231 <parameter_description> a GObject instance that implements AtkTableIface
5232 </parameter_description>
5233 </parameter>
5234 <parameter name="row">
5235 <parameter_description> a #gint representing a row in @table
5236 </parameter_description>
5237 </parameter>
5238 </parameters>
5239 <return> a gboolean representing if the row is selected, or 0
5240 if value does not implement this interface.
5241 </return>
5242 </function>
5243
5244 <function name="atk_table_is_selected">
5245 <description>
5246 Gets a boolean value indicating whether the accessible object
5247 at the specified @row and @column is selected
5248
5249
5250 </description>
5251 <parameters>
5252 <parameter name="table">
5253 <parameter_description> a GObject instance that implements AtkTableIface
5254 </parameter_description>
5255 </parameter>
5256 <parameter name="row">
5257 <parameter_description> a #gint representing a row in @table
5258 </parameter_description>
5259 </parameter>
5260 <parameter name="column">
5261 <parameter_description> a #gint representing a column in @table
5262 </parameter_description>
5263 </parameter>
5264 </parameters>
5265 <return> a gboolean representing if the cell is selected, or 0
5266 if value does not implement this interface.
5267 </return>
5268 </function>
5269
5270 <function name="atk_table_ref_at">
5271 <description>
5272 Get a reference to the table cell at @row, @column. This cell
5273 should implement the interface #AtkTableCell
5274
5275
5276 </description>
5277 <parameters>
5278 <parameter name="table">
5279 <parameter_description> a GObject instance that implements AtkTableIface
5280 </parameter_description>
5281 </parameter>
5282 <parameter name="row">
5283 <parameter_description> a #gint representing a row in @table
5284 </parameter_description>
5285 </parameter>
5286 <parameter name="column">
5287 <parameter_description> a #gint representing a column in @table
5288 </parameter_description>
5289 </parameter>
5290 </parameters>
5291 <return> an #AtkObject representing the referred
5292 to accessible
5293 </return>
5294 </function>
5295
5296 <function name="atk_table_remove_column_selection">
5297 <description>
5298 Adds the specified @column to the selection.
5299
5300
5301 </description>
5302 <parameters>
5303 <parameter name="table">
5304 <parameter_description> a GObject instance that implements AtkTableIface
5305 </parameter_description>
5306 </parameter>
5307 <parameter name="column">
5308 <parameter_description> a #gint representing a column in @table
5309 </parameter_description>
5310 </parameter>
5311 </parameters>
5312 <return> a gboolean representing if the column was successfully removed from
5313 the selection, or 0 if value does not implement this interface.
5314 </return>
5315 </function>
5316
5317 <function name="atk_table_remove_row_selection">
5318 <description>
5319 Removes the specified @row from the selection.
5320
5321
5322 </description>
5323 <parameters>
5324 <parameter name="table">
5325 <parameter_description> a GObject instance that implements AtkTableIface
5326 </parameter_description>
5327 </parameter>
5328 <parameter name="row">
5329 <parameter_description> a #gint representing a row in @table
5330 </parameter_description>
5331 </parameter>
5332 </parameters>
5333 <return> a gboolean representing if the row was successfully removed from
5334 the selection, or 0 if value does not implement this interface.
5335 </return>
5336 </function>
5337
5338 <function name="atk_table_set_caption">
5339 <description>
5340 Sets the caption for the table.
5341
5342 </description>
5343 <parameters>
5344 <parameter name="table">
5345 <parameter_description> a GObject instance that implements AtkTableIface
5346 </parameter_description>
5347 </parameter>
5348 <parameter name="caption">
5349 <parameter_description> a #AtkObject representing the caption to set for @table
5350 </parameter_description>
5351 </parameter>
5352 </parameters>
5353 <return></return>
5354 </function>
5355
5356 <function name="atk_table_set_column_description">
5357 <description>
5358 Sets the description text for the specified @column of the @table.
5359
5360 </description>
5361 <parameters>
5362 <parameter name="table">
5363 <parameter_description> a GObject instance that implements AtkTableIface
5364 </parameter_description>
5365 </parameter>
5366 <parameter name="column">
5367 <parameter_description> a #gint representing a column in @table
5368 </parameter_description>
5369 </parameter>
5370 <parameter name="description">
5371 <parameter_description> a #gchar representing the description text
5372 to set for the specified @column of the @table
5373 </parameter_description>
5374 </parameter>
5375 </parameters>
5376 <return></return>
5377 </function>
5378
5379 <function name="atk_table_set_column_header">
5380 <description>
5381 Sets the specified column header to @header.
5382
5383 </description>
5384 <parameters>
5385 <parameter name="table">
5386 <parameter_description> a GObject instance that implements AtkTableIface
5387 </parameter_description>
5388 </parameter>
5389 <parameter name="column">
5390 <parameter_description> a #gint representing a column in @table
5391 </parameter_description>
5392 </parameter>
5393 <parameter name="header">
5394 <parameter_description> an #AtkTable
5395 </parameter_description>
5396 </parameter>
5397 </parameters>
5398 <return></return>
5399 </function>
5400
5401 <function name="atk_table_set_row_description">
5402 <description>
5403 Sets the description text for the specified @row of @table.
5404
5405 </description>
5406 <parameters>
5407 <parameter name="table">
5408 <parameter_description> a GObject instance that implements AtkTableIface
5409 </parameter_description>
5410 </parameter>
5411 <parameter name="row">
5412 <parameter_description> a #gint representing a row in @table
5413 </parameter_description>
5414 </parameter>
5415 <parameter name="description">
5416 <parameter_description> a #gchar representing the description text
5417 to set for the specified @row of @table
5418 </parameter_description>
5419 </parameter>
5420 </parameters>
5421 <return></return>
5422 </function>
5423
5424 <function name="atk_table_set_row_header">
5425 <description>
5426 Sets the specified row header to @header.
5427
5428 </description>
5429 <parameters>
5430 <parameter name="table">
5431 <parameter_description> a GObject instance that implements AtkTableIface
5432 </parameter_description>
5433 </parameter>
5434 <parameter name="row">
5435 <parameter_description> a #gint representing a row in @table
5436 </parameter_description>
5437 </parameter>
5438 <parameter name="header">
5439 <parameter_description> an #AtkTable
5440 </parameter_description>
5441 </parameter>
5442 </parameters>
5443 <return></return>
5444 </function>
5445
5446 <function name="atk_table_set_summary">
5447 <description>
5448 Sets the summary description of the table.
5449
5450 </description>
5451 <parameters>
5452 <parameter name="table">
5453 <parameter_description> a GObject instance that implements AtkTableIface
5454 </parameter_description>
5455 </parameter>
5456 <parameter name="accessible">
5457 <parameter_description> an #AtkObject representing the summary description
5458 to set for @table
5459 </parameter_description>
5460 </parameter>
5461 </parameters>
5462 <return></return>
5463 </function>
5464
5465 <function name="atk_text_add_selection">
5466 <description>
5467 Adds a selection bounded by the specified offsets.
5468
5469
5470 </description>
5471 <parameters>
5472 <parameter name="text">
5473 <parameter_description> an #AtkText
5474 </parameter_description>
5475 </parameter>
5476 <parameter name="start_offset">
5477 <parameter_description> the start position of the selected region
5478 </parameter_description>
5479 </parameter>
5480 <parameter name="end_offset">
5481 <parameter_description> the offset of the first character after the selected region.
5482 </parameter_description>
5483 </parameter>
5484 </parameters>
5485 <return> %TRUE if success, %FALSE otherwise
5486 </return>
5487 </function>
5488
5489 <function name="atk_text_attribute_for_name">
5490 <description>
5491 Get the #AtkTextAttribute type corresponding to a text attribute name.
5492
5493
5494 </description>
5495 <parameters>
5496 <parameter name="name">
5497 <parameter_description> a string which is the (non-localized) name of an ATK text attribute.
5498 </parameter_description>
5499 </parameter>
5500 </parameters>
5501 <return> the #AtkTextAttribute enumerated type corresponding to the specified
5502 name,
5503 or #ATK_TEXT_ATTRIBUTE_INVALID if no matching text attribute is found.
5504 </return>
5505 </function>
5506
5507 <function name="atk_text_attribute_get_name">
5508 <description>
5509 Gets the name corresponding to the #AtkTextAttribute
5510
5511
5512 </description>
5513 <parameters>
5514 <parameter name="attr">
5515 <parameter_description> The #AtkTextAttribute whose name is required
5516 </parameter_description>
5517 </parameter>
5518 </parameters>
5519 <return> a string containing the name; this string should not be freed
5520 </return>
5521 </function>
5522
5523 <function name="atk_text_attribute_get_value">
5524 <description>
5525 Gets the value for the index of the #AtkTextAttribute
5526
5527
5528 </description>
5529 <parameters>
5530 <parameter name="attr">
5531 <parameter_description> The #AtkTextAttribute for which a value is required
5532 </parameter_description>
5533 </parameter>
5534 <parameter name="index_">
5535 <parameter_description> The index of the required value
5536 </parameter_description>
5537 </parameter>
5538 </parameters>
5539 <return> a string containing the value; this string
5540 should not be freed; %NULL is returned if there are no values
5541 maintained for the attr value.
5542 </return>
5543 </function>
5544
5545 <function name="atk_text_attribute_register">
5546 <description>
5547 Associate @name with a new #AtkTextAttribute
5548
5549
5550 </description>
5551 <parameters>
5552 <parameter name="name">
5553 <parameter_description> a name string
5554 </parameter_description>
5555 </parameter>
5556 </parameters>
5557 <return> an #AtkTextAttribute associated with @name
5558 </return>
5559 </function>
5560
5561 <function name="atk_text_free_ranges">
5562 <description>
5563 Frees the memory associated with an array of AtkTextRange. It is assumed
5564 that the array was returned by the function atk_text_get_bounded_ranges
5565 and is NULL terminated.
5566
5567 Since: 1.3
5568
5569 </description>
5570 <parameters>
5571 <parameter name="ranges">
5572 <parameter_description> A pointer to an array of #AtkTextRange which is
5573 to be freed.
5574 </parameter_description>
5575 </parameter>
5576 </parameters>
5577 <return></return>
5578 </function>
5579
5580 <function name="atk_text_get_bounded_ranges">
5581 <description>
5582 Get the ranges of text in the specified bounding box.
5583
5584 Since: 1.3
5585
5586
5587 </description>
5588 <parameters>
5589 <parameter name="text">
5590 <parameter_description> an #AtkText
5591 </parameter_description>
5592 </parameter>
5593 <parameter name="rect">
5594 <parameter_description> An AtkTextRectangle giving the dimensions of the bounding box.
5595 </parameter_description>
5596 </parameter>
5597 <parameter name="coord_type">
5598 <parameter_description> Specify whether coordinates are relative to the screen or widget window.
5599 </parameter_description>
5600 </parameter>
5601 <parameter name="x_clip_type">
5602 <parameter_description> Specify the horizontal clip type.
5603 </parameter_description>
5604 </parameter>
5605 <parameter name="y_clip_type">
5606 <parameter_description> Specify the vertical clip type.
5607 </parameter_description>
5608 </parameter>
5609 </parameters>
5610 <return> Array of AtkTextRange. The last
5611 element of the array returned by this function will be NULL.
5612 </return>
5613 </function>
5614
5615 <function name="atk_text_get_caret_offset">
5616 <description>
5617 Gets the offset position of the caret (cursor).
5618
5619
5620 </description>
5621 <parameters>
5622 <parameter name="text">
5623 <parameter_description> an #AtkText
5624 </parameter_description>
5625 </parameter>
5626 </parameters>
5627 <return> the offset position of the caret (cursor).
5628 </return>
5629 </function>
5630
5631 <function name="atk_text_get_character_at_offset">
5632 <description>
5633 Gets the specified text.
5634
5635
5636 </description>
5637 <parameters>
5638 <parameter name="text">
5639 <parameter_description> an #AtkText
5640 </parameter_description>
5641 </parameter>
5642 <parameter name="offset">
5643 <parameter_description> position
5644 </parameter_description>
5645 </parameter>
5646 </parameters>
5647 <return> the character at @offset.
5648 </return>
5649 </function>
5650
5651 <function name="atk_text_get_character_count">
5652 <description>
5653 Gets the character count.
5654
5655
5656 </description>
5657 <parameters>
5658 <parameter name="text">
5659 <parameter_description> an #AtkText
5660 </parameter_description>
5661 </parameter>
5662 </parameters>
5663 <return> the number of characters.
5664 </return>
5665 </function>
5666
5667 <function name="atk_text_get_character_extents">
5668 <description>
5669 Get the bounding box containing the glyph representing the character at
5670 a particular text offset.
5671
5672 </description>
5673 <parameters>
5674 <parameter name="text">
5675 <parameter_description> an #AtkText
5676 </parameter_description>
5677 </parameter>
5678 <parameter name="offset">
5679 <parameter_description> The offset of the text character for which bounding information is required.
5680 </parameter_description>
5681 </parameter>
5682 <parameter name="x">
5683 <parameter_description> Pointer for the x cordinate of the bounding box
5684 </parameter_description>
5685 </parameter>
5686 <parameter name="y">
5687 <parameter_description> Pointer for the y cordinate of the bounding box
5688 </parameter_description>
5689 </parameter>
5690 <parameter name="width">
5691 <parameter_description> Pointer for the width of the bounding box
5692 </parameter_description>
5693 </parameter>
5694 <parameter name="height">
5695 <parameter_description> Pointer for the height of the bounding box
5696 </parameter_description>
5697 </parameter>
5698 <parameter name="coords">
5699 <parameter_description> specify whether coordinates are relative to the screen or widget window
5700 </parameter_description>
5701 </parameter>
5702 </parameters>
5703 <return></return>
5704 </function>
5705
5706 <function name="atk_text_get_default_attributes">
5707 <description>
5708 Creates an #AtkAttributeSet which consists of the default values of
5709 attributes for the text. See the enum AtkTextAttribute for types of text
5710 attributes that can be returned. Note that other attributes may also be
5711 returned.
5712
5713
5714 </description>
5715 <parameters>
5716 <parameter name="text">
5717 <parameter_description> an #AtkText
5718 </parameter_description>
5719 </parameter>
5720 </parameters>
5721 <return> an #AtkAttributeSet which contains the default
5722 values of attributes. at @offset. this #atkattributeset should be freed by
5723 a call to atk_attribute_set_free().
5724 </return>
5725 </function>
5726
5727 <function name="atk_text_get_n_selections">
5728 <description>
5729 Gets the number of selected regions.
5730
5731
5732 </description>
5733 <parameters>
5734 <parameter name="text">
5735 <parameter_description> an #AtkText
5736 </parameter_description>
5737 </parameter>
5738 </parameters>
5739 <return> The number of selected regions, or -1 if a failure
5740 occurred.
5741 </return>
5742 </function>
5743
5744 <function name="atk_text_get_offset_at_point">
5745 <description>
5746 Gets the offset of the character located at coordinates @x and @y. @x and @y
5747 are interpreted as being relative to the screen or this widget's window
5748 depending on @coords.
5749
5750
5751 </description>
5752 <parameters>
5753 <parameter name="text">
5754 <parameter_description> an #AtkText
5755 </parameter_description>
5756 </parameter>
5757 <parameter name="x">
5758 <parameter_description> screen x-position of character
5759 </parameter_description>
5760 </parameter>
5761 <parameter name="y">
5762 <parameter_description> screen y-position of character
5763 </parameter_description>
5764 </parameter>
5765 <parameter name="coords">
5766 <parameter_description> specify whether coordinates are relative to the screen or
5767 widget window
5768 </parameter_description>
5769 </parameter>
5770 </parameters>
5771 <return> the offset to the character which is located at
5772 the specified @x and @y coordinates.
5773 </return>
5774 </function>
5775
5776 <function name="atk_text_get_range_extents">
5777 <description>
5778 Get the bounding box for text within the specified range.
5779
5780 Since: 1.3
5781
5782 </description>
5783 <parameters>
5784 <parameter name="text">
5785 <parameter_description> an #AtkText
5786 </parameter_description>
5787 </parameter>
5788 <parameter name="start_offset">
5789 <parameter_description> The offset of the first text character for which boundary
5790 information is required.
5791 </parameter_description>
5792 </parameter>
5793 <parameter name="end_offset">
5794 <parameter_description> The offset of the text character after the last character
5795 for which boundary information is required.
5796 </parameter_description>
5797 </parameter>
5798 <parameter name="coord_type">
5799 <parameter_description> Specify whether coordinates are relative to the screen or widget window.
5800 </parameter_description>
5801 </parameter>
5802 <parameter name="rect">
5803 <parameter_description> A pointer to a AtkTextRectangle which is filled in by this function.
5804 </parameter_description>
5805 </parameter>
5806 </parameters>
5807 <return></return>
5808 </function>
5809
5810 <function name="atk_text_get_run_attributes">
5811 <description>
5812 Creates an #AtkAttributeSet which consists of the attributes explicitly
5813 set at the position @offset in the text. @start_offset and @end_offset are
5814 set to the start and end of the range around @offset where the attributes are
5815 invariant. Note that @end_offset is the offset of the first character
5816 after the range. See the enum AtkTextAttribute for types of text
5817 attributes that can be returned. Note that other attributes may also be
5818 returned.
5819
5820
5821 </description>
5822 <parameters>
5823 <parameter name="text">
5824 <parameter_description> an #AtkText
5825 </parameter_description>
5826 </parameter>
5827 <parameter name="offset">
5828 <parameter_description> the offset at which to get the attributes, -1 means the offset of
5829 the character to be inserted at the caret location.
5830 </parameter_description>
5831 </parameter>
5832 <parameter name="start_offset">
5833 <parameter_description> the address to put the start offset of the range
5834 </parameter_description>
5835 </parameter>
5836 <parameter name="end_offset">
5837 <parameter_description> the address to put the end offset of the range
5838 </parameter_description>
5839 </parameter>
5840 </parameters>
5841 <return> an #AtkAttributeSet which contains the attributes
5842 explicitly set at @offset. This #AtkAttributeSet should be freed by a call
5843 to atk_attribute_set_free().
5844 </return>
5845 </function>
5846
5847 <function name="atk_text_get_selection">
5848 <description>
5849 Gets the text from the specified selection.
5850
5851
5852 </description>
5853 <parameters>
5854 <parameter name="text">
5855 <parameter_description> an #AtkText
5856 </parameter_description>
5857 </parameter>
5858 <parameter name="selection_num">
5859 <parameter_description> The selection number. The selected regions are
5860 assigned numbers that correspond to how far the region is from the
5861 start of the text. The selected region closest to the beginning
5862 of the text region is assigned the number 0, etc. Note that adding,
5863 moving or deleting a selected region can change the numbering.
5864 </parameter_description>
5865 </parameter>
5866 <parameter name="start_offset">
5867 <parameter_description> passes back the start position of the selected region
5868 </parameter_description>
5869 </parameter>
5870 <parameter name="end_offset">
5871 <parameter_description> passes back the end position of (e.g. offset immediately past)
5872 the selected region
5873 </parameter_description>
5874 </parameter>
5875 </parameters>
5876 <return> a newly allocated string containing the selected text. Use g_free()
5877 to free the returned string.
5878 </return>
5879 </function>
5880
5881 <function name="atk_text_get_string_at_offset">
5882 <description>
5883 Gets a portion of the text exposed through an #AtkText according to a given @offset
5884 and a specific @granularity, along with the start and end offsets defining the
5885 boundaries of such a portion of text.
5886
5887 If @granularity is ATK_TEXT_GRANULARITY_CHAR the character at the
5888 offset is returned.
5889
5890 If @granularity is ATK_TEXT_GRANULARITY_WORD the returned string
5891 is from the word start at or before the offset to the word start after
5892 the offset.
5893
5894 The returned string will contain the word at the offset if the offset
5895 is inside a word and will contain the word before the offset if the
5896 offset is not inside a word.
5897
5898 If @granularity is ATK_TEXT_GRANULARITY_SENTENCE the returned string
5899 is from the sentence start at or before the offset to the sentence
5900 start after the offset.
5901
5902 The returned string will contain the sentence at the offset if the offset
5903 is inside a sentence and will contain the sentence before the offset
5904 if the offset is not inside a sentence.
5905
5906 If @granularity is ATK_TEXT_GRANULARITY_LINE the returned string
5907 is from the line start at or before the offset to the line
5908 start after the offset.
5909
5910 If @granularity is ATK_TEXT_GRANULARITY_PARAGRAPH the returned string
5911 is from the start of the paragraph at or before the offset to the start
5912 of the following paragraph after the offset.
5913
5914 Since: 2.10
5915
5916
5917 </description>
5918 <parameters>
5919 <parameter name="text">
5920 <parameter_description> an #AtkText
5921 </parameter_description>
5922 </parameter>
5923 <parameter name="offset">
5924 <parameter_description> position
5925 </parameter_description>
5926 </parameter>
5927 <parameter name="granularity">
5928 <parameter_description> An #AtkTextGranularity
5929 </parameter_description>
5930 </parameter>
5931 <parameter name="start_offset">
5932 <parameter_description> the start offset of the returned string, or -1
5933 if an error has occurred (e.g. invalid offset, not implemented)
5934 </parameter_description>
5935 </parameter>
5936 <parameter name="end_offset">
5937 <parameter_description> the offset of the first character after the returned string,
5938 or -1 if an error has occurred (e.g. invalid offset, not implemented)
5939 </parameter_description>
5940 </parameter>
5941 </parameters>
5942 <return> a newly allocated string containing the text
5943 at the @offset bounded by the specified @granularity. Use
5944 g_free() to free the returned string. Returns %NULL if the
5945 offset is invalid or no implementation is available.
5946 </return>
5947 </function>
5948
5949 <function name="atk_text_get_text">
5950 <description>
5951 Gets the specified text.
5952
5953
5954 </description>
5955 <parameters>
5956 <parameter name="text">
5957 <parameter_description> an #AtkText
5958 </parameter_description>
5959 </parameter>
5960 <parameter name="start_offset">
5961 <parameter_description> start position
5962 </parameter_description>
5963 </parameter>
5964 <parameter name="end_offset">
5965 <parameter_description> end position, or -1 for the end of the string.
5966 </parameter_description>
5967 </parameter>
5968 </parameters>
5969 <return> a newly allocated string containing the text from @start_offset up
5970 to, but not including @end_offset. Use g_free() to free the returned string.
5971 </return>
5972 </function>
5973
5974 <function name="atk_text_get_text_after_offset">
5975 <description>
5976 Gets the specified text.
5977
5978 Deprecated: 2.9.3: Please use atk_text_get_string_at_offset() instead.
5979
5980
5981 </description>
5982 <parameters>
5983 <parameter name="text">
5984 <parameter_description> an #AtkText
5985 </parameter_description>
5986 </parameter>
5987 <parameter name="offset">
5988 <parameter_description> position
5989 </parameter_description>
5990 </parameter>
5991 <parameter name="boundary_type">
5992 <parameter_description> An #AtkTextBoundary
5993 </parameter_description>
5994 </parameter>
5995 <parameter name="start_offset">
5996 <parameter_description> the start offset of the returned string
5997 </parameter_description>
5998 </parameter>
5999 <parameter name="end_offset">
6000 <parameter_description> the offset of the first character after the
6001 returned substring
6002 </parameter_description>
6003 </parameter>
6004 </parameters>
6005 <return> a newly allocated string containing the text after @offset bounded
6006 by the specified @boundary_type. Use g_free() to free the returned string.
6007 </return>
6008 </function>
6009
6010 <function name="atk_text_get_text_at_offset">
6011 <description>
6012 Gets the specified text.
6013
6014 If the boundary_type if ATK_TEXT_BOUNDARY_CHAR the character at the
6015 offset is returned.
6016
6017 If the boundary_type is ATK_TEXT_BOUNDARY_WORD_START the returned string
6018 is from the word start at or before the offset to the word start after
6019 the offset.
6020
6021 The returned string will contain the word at the offset if the offset
6022 is inside a word and will contain the word before the offset if the
6023 offset is not inside a word.
6024
6025 If the boundary type is ATK_TEXT_BOUNDARY_SENTENCE_START the returned
6026 string is from the sentence start at or before the offset to the sentence
6027 start after the offset.
6028
6029 The returned string will contain the sentence at the offset if the offset
6030 is inside a sentence and will contain the sentence before the offset
6031 if the offset is not inside a sentence.
6032
6033 If the boundary type is ATK_TEXT_BOUNDARY_LINE_START the returned
6034 string is from the line start at or before the offset to the line
6035 start after the offset.
6036
6037 Deprecated: This method is deprecated since ATK version
6038 2.9.4. Please use atk_text_get_string_at_offset() instead.
6039
6040
6041 </description>
6042 <parameters>
6043 <parameter name="text">
6044 <parameter_description> an #AtkText
6045 </parameter_description>
6046 </parameter>
6047 <parameter name="offset">
6048 <parameter_description> position
6049 </parameter_description>
6050 </parameter>
6051 <parameter name="boundary_type">
6052 <parameter_description> An #AtkTextBoundary
6053 </parameter_description>
6054 </parameter>
6055 <parameter name="start_offset">
6056 <parameter_description> the start offset of the returned string
6057 </parameter_description>
6058 </parameter>
6059 <parameter name="end_offset">
6060 <parameter_description> the offset of the first character after the
6061 returned substring
6062 </parameter_description>
6063 </parameter>
6064 </parameters>
6065 <return> a newly allocated string containing the text at @offset bounded by
6066 the specified @boundary_type. Use g_free() to free the returned string.
6067 </return>
6068 </function>
6069
6070 <function name="atk_text_get_text_before_offset">
6071 <description>
6072 Gets the specified text.
6073
6074 Deprecated: 2.9.3: Please use atk_text_get_string_at_offset() instead.
6075
6076
6077 </description>
6078 <parameters>
6079 <parameter name="text">
6080 <parameter_description> an #AtkText
6081 </parameter_description>
6082 </parameter>
6083 <parameter name="offset">
6084 <parameter_description> position
6085 </parameter_description>
6086 </parameter>
6087 <parameter name="boundary_type">
6088 <parameter_description> An #AtkTextBoundary
6089 </parameter_description>
6090 </parameter>
6091 <parameter name="start_offset">
6092 <parameter_description> the start offset of the returned string
6093 </parameter_description>
6094 </parameter>
6095 <parameter name="end_offset">
6096 <parameter_description> the offset of the first character after the
6097 returned substring
6098 </parameter_description>
6099 </parameter>
6100 </parameters>
6101 <return> a newly allocated string containing the text before @offset bounded
6102 by the specified @boundary_type. Use g_free() to free the returned string.
6103 </return>
6104 </function>
6105
6106 <function name="atk_text_remove_selection">
6107 <description>
6108 Removes the specified selection.
6109
6110
6111 </description>
6112 <parameters>
6113 <parameter name="text">
6114 <parameter_description> an #AtkText
6115 </parameter_description>
6116 </parameter>
6117 <parameter name="selection_num">
6118 <parameter_description> The selection number. The selected regions are
6119 assigned numbers that correspond to how far the region is from the
6120 start of the text. The selected region closest to the beginning
6121 of the text region is assigned the number 0, etc. Note that adding,
6122 moving or deleting a selected region can change the numbering.
6123 </parameter_description>
6124 </parameter>
6125 </parameters>
6126 <return> %TRUE if success, %FALSE otherwise
6127 </return>
6128 </function>
6129
6130 <function name="atk_text_set_caret_offset">
6131 <description>
6132 Sets the caret (cursor) position to the specified @offset.
6133
6134
6135 </description>
6136 <parameters>
6137 <parameter name="text">
6138 <parameter_description> an #AtkText
6139 </parameter_description>
6140 </parameter>
6141 <parameter name="offset">
6142 <parameter_description> position
6143 </parameter_description>
6144 </parameter>
6145 </parameters>
6146 <return> %TRUE if success, %FALSE otherwise.
6147 </return>
6148 </function>
6149
6150 <function name="atk_text_set_selection">
6151 <description>
6152 Changes the start and end offset of the specified selection.
6153
6154
6155 </description>
6156 <parameters>
6157 <parameter name="text">
6158 <parameter_description> an #AtkText
6159 </parameter_description>
6160 </parameter>
6161 <parameter name="selection_num">
6162 <parameter_description> The selection number. The selected regions are
6163 assigned numbers that correspond to how far the region is from the
6164 start of the text. The selected region closest to the beginning
6165 of the text region is assigned the number 0, etc. Note that adding,
6166 moving or deleting a selected region can change the numbering.
6167 </parameter_description>
6168 </parameter>
6169 <parameter name="start_offset">
6170 <parameter_description> the new start position of the selection
6171 </parameter_description>
6172 </parameter>
6173 <parameter name="end_offset">
6174 <parameter_description> the new end position of (e.g. offset immediately past)
6175 the selection
6176 </parameter_description>
6177 </parameter>
6178 </parameters>
6179 <return> %TRUE if success, %FALSE otherwise
6180 </return>
6181 </function>
6182
6183 <function name="atk_value_get_current_value">
6184 <description>
6185 Gets the value of this object.
6186
6187 Deprecated: Since 2.12. Use atk_value_get_value_and_text()
6188 instead.
6189
6190 </description>
6191 <parameters>
6192 <parameter name="obj">
6193 <parameter_description> a GObject instance that implements AtkValueIface
6194 </parameter_description>
6195 </parameter>
6196 <parameter name="value">
6197 <parameter_description> a #GValue representing the current accessible value
6198 </parameter_description>
6199 </parameter>
6200 </parameters>
6201 <return></return>
6202 </function>
6203
6204 <function name="atk_value_get_increment">
6205 <description>
6206 Gets the minimum increment by which the value of this object may be
6207 changed. If zero, the minimum increment is undefined, which may
6208 mean that it is limited only by the floating point precision of the
6209 platform.
6210
6211 Since: 2.12
6212
6213 </description>
6214 <parameters>
6215 <parameter name="obj">
6216 <parameter_description> a GObject instance that implements AtkValueIface
6217 </parameter_description>
6218 </parameter>
6219 </parameters>
6220 <return> the minimum increment by which the value of this
6221 object may be changed. zero if undefined.
6222
6223 </return>
6224 </function>
6225
6226 <function name="atk_value_get_maximum_value">
6227 <description>
6228 Gets the maximum value of this object.
6229
6230 Deprecated: Since 2.12. Use atk_value_get_range() instead.
6231
6232 </description>
6233 <parameters>
6234 <parameter name="obj">
6235 <parameter_description> a GObject instance that implements AtkValueIface
6236 </parameter_description>
6237 </parameter>
6238 <parameter name="value">
6239 <parameter_description> a #GValue representing the maximum accessible value
6240 </parameter_description>
6241 </parameter>
6242 </parameters>
6243 <return></return>
6244 </function>
6245
6246 <function name="atk_value_get_minimum_increment">
6247 <description>
6248 Gets the minimum increment by which the value of this object may be changed. If zero,
6249 the minimum increment is undefined, which may mean that it is limited only by the
6250 floating point precision of the platform.
6251
6252 Since: 1.12
6253
6254 Deprecated: Since 2.12. Use atk_value_get_increment() instead.
6255
6256 </description>
6257 <parameters>
6258 <parameter name="obj">
6259 <parameter_description> a GObject instance that implements AtkValueIface
6260 </parameter_description>
6261 </parameter>
6262 <parameter name="value">
6263 <parameter_description> a #GValue representing the minimum increment by which the accessible value may be changed
6264 </parameter_description>
6265 </parameter>
6266 </parameters>
6267 <return></return>
6268 </function>
6269
6270 <function name="atk_value_get_minimum_value">
6271 <description>
6272 Gets the minimum value of this object.
6273
6274 Deprecated: Since 2.12. Use atk_value_get_range() instead.
6275
6276 </description>
6277 <parameters>
6278 <parameter name="obj">
6279 <parameter_description> a GObject instance that implements AtkValueIface
6280 </parameter_description>
6281 </parameter>
6282 <parameter name="value">
6283 <parameter_description> a #GValue representing the minimum accessible value
6284 </parameter_description>
6285 </parameter>
6286 </parameters>
6287 <return></return>
6288 </function>
6289
6290 <function name="atk_value_get_range">
6291 <description>
6292 Gets the range of this object.
6293
6294 Since: 2.12
6295
6296 </description>
6297 <parameters>
6298 <parameter name="obj">
6299 <parameter_description> a GObject instance that implements AtkValueIface
6300 </parameter_description>
6301 </parameter>
6302 </parameters>
6303 <return> a newly allocated #AtkRange
6304 that represents the minimum, maximum and descriptor (if available)
6305 of @obj. NULL if that range is not defined.
6306
6307 </return>
6308 </function>
6309
6310 <function name="atk_value_get_sub_ranges">
6311 <description>
6312 Gets the list of subranges defined for this object. See #AtkValue
6313 introduction for examples of subranges and when to expose them.
6314
6315 Since: 2.12
6316
6317 </description>
6318 <parameters>
6319 <parameter name="obj">
6320 <parameter_description> a GObject instance that implements AtkValueIface
6321 </parameter_description>
6322 </parameter>
6323 </parameters>
6324 <return> an #GSList of
6325 #AtkRange which each of the subranges defined for this object. Free
6326 the returns list with g_slist_free().
6327
6328 </return>
6329 </function>
6330
6331 <function name="atk_value_get_value_and_text">
6332 <description>
6333 Gets the current value and the human readable text alternative of
6334 @obj. @text is a newly created string, that must be freed by the
6335 caller. Can be NULL if no descriptor is available.
6336
6337 Since: 2.12
6338
6339 </description>
6340 <parameters>
6341 <parameter name="obj">
6342 <parameter_description> a GObject instance that implements AtkValueIface
6343 </parameter_description>
6344 </parameter>
6345 <parameter name="value">
6346 <parameter_description> address of #gdouble to put the current value of @obj
6347 </parameter_description>
6348 </parameter>
6349 <parameter name="text">
6350 <parameter_description> address of #gchar to put the human
6351 readable text alternative for @value
6352 </parameter_description>
6353 </parameter>
6354 </parameters>
6355 <return></return>
6356 </function>
6357
6358 <function name="atk_value_set_current_value">
6359 <description>
6360 Sets the value of this object.
6361
6362 Deprecated: Since 2.12. Use atk_value_set_value() instead.
6363
6364 </description>
6365 <parameters>
6366 <parameter name="obj">
6367 <parameter_description> a GObject instance that implements AtkValueIface
6368 </parameter_description>
6369 </parameter>
6370 <parameter name="value">
6371 <parameter_description> a #GValue which is the desired new accessible value.
6372 </parameter_description>
6373 </parameter>
6374 </parameters>
6375 <return> %TRUE if new value is successfully set, %FALSE otherwise.
6376
6377 </return>
6378 </function>
6379
6380 <function name="atk_value_set_value">
6381 <description>
6382 Sets the value of this object.
6383
6384 This method is intended to provide a way to change the value of the
6385 object. In any case, it is possible that the value can't be
6386 modified (ie: a read-only component). If the value changes due this
6387 call, it is possible that the text could change, and will trigger
6388 an #AtkValue::value-changed signal emission.
6389
6390 Note for implementors: the deprecated atk_value_set_current_value()
6391 method returned TRUE or FALSE depending if the value was assigned
6392 or not. In the practice several implementors were not able to
6393 decide it, and returned TRUE in any case. For that reason it is not
6394 required anymore to return if the value was properly assigned or
6395 not.
6396
6397 Since: 2.12
6398
6399 </description>
6400 <parameters>
6401 <parameter name="obj">
6402 <parameter_description> a GObject instance that implements AtkValueIface
6403 </parameter_description>
6404 </parameter>
6405 <parameter name="new_value">
6406 <parameter_description> a double which is the desired new accessible value.
6407 </parameter_description>
6408 </parameter>
6409 </parameters>
6410 <return></return>
6411 </function>
6412
6413 <function name="atk_value_type_get_localized_name">
6414 <description>
6415 Gets the localized description string describing the #AtkValueType @value_type.
6416
6417
6418 </description>
6419 <parameters>
6420 <parameter name="value_type">
6421 <parameter_description> The #AtkValueType whose localized name is required
6422 </parameter_description>
6423 </parameter>
6424 </parameters>
6425 <return> the localized string describing the #AtkValueType
6426 </return>
6427 </function>
6428
6429 <function name="atk_value_type_get_name">
6430 <description>
6431 Gets the description string describing the #AtkValueType @value_type.
6432
6433
6434 </description>
6435 <parameters>
6436 <parameter name="role">
6437 <parameter_description> The #AtkValueType whose name is required
6438 </parameter_description>
6439 </parameter>
6440 </parameters>
6441 <return> the string describing the #AtkValueType
6442 </return>
6443 </function>
6444
6445 </root>