1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
6 The base object class for the Accessibility Toolkit API.
8 <!-- ##### SECTION Long_Description ##### -->
10 This class is the primary class for accessibility support via
11 the Accessibility ToolKit (ATK). Objects which are instances
12 of #AtkObject (or instances of AtkObject-derived types) are
13 queried for properties which relate basic (and generic) properties of a
14 UI component such as name and description. Instances of #AtkObject
15 may also be queried as to whether they implement other ATK interfaces
16 (e.g. #AtkAction, #AtkComponent, etc.), as appropriate to the role
17 which a given UI component plays in a user interface.
19 <para>All UI components in an application which provide useful
20 information or services to the user must provide corresponding
21 #AtkObject instances on request (in GTK+, for instance, usually
22 on a call to #gtk_widget_get_accessible ()), either via ATK support
23 built into the toolkit for the widget class or ancestor class, or in
24 the case of custom widgets, if the inherited #AtkObject implementation
25 is insufficient, via instances of a new #AtkObject subclass.
28 <!-- ##### SECTION See_Also ##### -->
30 See also: #AtkObjectFactory, #AtkRegistry.
31 ( GTK+ users see also #GtkAccessible).
34 <!-- ##### STRUCT AtkObject ##### -->
36 The AtkObject structure should not be accessed directly.
41 <!-- ##### SIGNAL AtkObject::active-descendant-changed ##### -->
43 The "active-descendant-changed" signal is emitted by an object which has
44 the state ATK_STATE_MANAGES_DESCENDANTS when the focus object in the
45 object changes. For instance, a table will emit the signal when the cell
46 in the table which has focus changes.
49 @atkobject: the object which received the signal.
50 @arg1: the newly focused object.
52 <!-- ##### SIGNAL AtkObject::children-changed ##### -->
54 The signal "children-changed" is emitted when a child is added or
55 removed form an object. It supports two details: "add" and "remove"
58 @atkobject: the object which received the signal.
59 @arg1: The index of the added or removed child
60 @arg2: The child which was added or removed
62 <!-- ##### SIGNAL AtkObject::focus-event ##### -->
64 The signal "focus-event" is emitted when an object gains or loses focus.
67 @atkobject: the object which received the signal.
68 @arg1: A boolean value which indicates whether the object gained or lost focus.
70 <!-- ##### SIGNAL AtkObject::property-change ##### -->
72 The signal "property-change" is emitted when an object's property
73 value changes. The detail identifies the name of the property whose
77 @atkobject: the object which received the signal.
78 @arg1: The new value of the property which changed.
80 <!-- ##### SIGNAL AtkObject::state-change ##### -->
82 The "state-change" signal is emitted when an object's state changes.
83 The detail value identifies the state type which has changed.
86 @atkobject: the object which received the signal.
87 @arg1: The name of the state which has changed
88 @arg2: A boolean which indicates whether the state has been set or unset.
90 <!-- ##### SIGNAL AtkObject::visible-data-changed ##### -->
92 The "visible-data-changed" signal is emitted when the visual appearance of
96 @atkobject: the object which received the signal.
98 <!-- ##### ARG AtkObject:accessible-component-layer ##### -->
103 <!-- ##### ARG AtkObject:accessible-component-mdi-zorder ##### -->
108 <!-- ##### ARG AtkObject:accessible-description ##### -->
113 <!-- ##### ARG AtkObject:accessible-hypertext-nlinks ##### -->
118 <!-- ##### ARG AtkObject:accessible-name ##### -->
123 <!-- ##### ARG AtkObject:accessible-parent ##### -->
128 <!-- ##### ARG AtkObject:accessible-role ##### -->
133 <!-- ##### ARG AtkObject:accessible-table-caption ##### -->
138 <!-- ##### ARG AtkObject:accessible-table-caption-object ##### -->
143 <!-- ##### ARG AtkObject:accessible-table-column-description ##### -->
148 <!-- ##### ARG AtkObject:accessible-table-column-header ##### -->
153 <!-- ##### ARG AtkObject:accessible-table-row-description ##### -->
158 <!-- ##### ARG AtkObject:accessible-table-row-header ##### -->
163 <!-- ##### ARG AtkObject:accessible-table-summary ##### -->
168 <!-- ##### ARG AtkObject:accessible-value ##### -->
173 <!-- ##### ENUM AtkRole ##### -->
178 @ATK_ROLE_ACCEL_LABEL:
185 @ATK_ROLE_CHECK_MENU_ITEM:
186 @ATK_ROLE_COLOR_CHOOSER:
187 @ATK_ROLE_COLUMN_HEADER:
189 @ATK_ROLE_DATE_EDITOR:
190 @ATK_ROLE_DESKTOP_ICON:
191 @ATK_ROLE_DESKTOP_FRAME:
194 @ATK_ROLE_DIRECTORY_PANE:
195 @ATK_ROLE_DRAWING_AREA:
196 @ATK_ROLE_FILE_CHOOSER:
198 @ATK_ROLE_FONT_CHOOSER:
200 @ATK_ROLE_GLASS_PANE:
201 @ATK_ROLE_HTML_CONTAINER:
204 @ATK_ROLE_INTERNAL_FRAME:
206 @ATK_ROLE_LAYERED_PANE:
212 @ATK_ROLE_OPTION_PANE:
214 @ATK_ROLE_PAGE_TAB_LIST:
216 @ATK_ROLE_PASSWORD_TEXT:
217 @ATK_ROLE_POPUP_MENU:
218 @ATK_ROLE_PROGRESS_BAR:
219 @ATK_ROLE_PUSH_BUTTON:
220 @ATK_ROLE_RADIO_BUTTON:
221 @ATK_ROLE_RADIO_MENU_ITEM:
223 @ATK_ROLE_ROW_HEADER:
224 @ATK_ROLE_SCROLL_BAR:
225 @ATK_ROLE_SCROLL_PANE:
228 @ATK_ROLE_SPLIT_PANE:
229 @ATK_ROLE_SPIN_BUTTON:
232 @ATK_ROLE_TABLE_CELL:
233 @ATK_ROLE_TABLE_COLUMN_HEADER:
234 @ATK_ROLE_TABLE_ROW_HEADER:
235 @ATK_ROLE_TEAR_OFF_MENU_ITEM:
238 @ATK_ROLE_TOGGLE_BUTTON:
242 @ATK_ROLE_TREE_TABLE:
250 @ATK_ROLE_APPLICATION:
251 @ATK_ROLE_AUTOCOMPLETE:
253 @ATK_ROLE_LAST_DEFINED:
255 <!-- ##### FUNCTION atk_role_register ##### -->
264 <!-- ##### ENUM AtkLayer ##### -->
269 @ATK_LAYER_BACKGROUND:
277 <!-- ##### STRUCT AtkImplementor ##### -->
279 The AtkImplementor structure does not contain any fields.
284 <!-- ##### STRUCT AtkPropertyValues ##### -->
286 The Atk PropertyValue structure is used when notifying a change in property.
287 Currently, the only property for which old_value is used is
288 accessible-state; for instance if there is a focus change the
289 property change handler will be called for the object which lost the focus
290 with the old_value containing the AtkState value corresponding to focused
291 and the property change handler will be called for the object which
292 received the focus with the new_value containing the AtkState value
293 corresponding to focused.
301 <!-- ##### USER_FUNCTION AtkFunction ##### -->
303 An AtkFunction is a function definition used for padding which has been added
304 to class and interface structures to allow for expansion in the future.
312 <!-- ##### USER_FUNCTION AtkPropertyChangeHandler ##### -->
314 An AtkPropertyChangeHandler is a function which is executed when an AtkObject's property changes value. It is specified in a call to
315 atk_object_connect_property_change_handler().
322 <!-- ##### FUNCTION atk_implementor_ref_accessible ##### -->
331 <!-- ##### FUNCTION atk_object_get_name ##### -->
340 <!-- ##### FUNCTION atk_object_get_description ##### -->
349 <!-- ##### FUNCTION atk_object_get_parent ##### -->
358 <!-- ##### FUNCTION atk_object_get_n_accessible_children ##### -->
367 <!-- ##### FUNCTION atk_object_ref_accessible_child ##### -->
377 <!-- ##### FUNCTION atk_object_ref_relation_set ##### -->
386 <!-- ##### FUNCTION atk_object_get_layer ##### -->
395 <!-- ##### FUNCTION atk_object_get_mdi_zorder ##### -->
404 <!-- ##### FUNCTION atk_object_get_role ##### -->
413 <!-- ##### FUNCTION atk_object_ref_state_set ##### -->
422 <!-- ##### FUNCTION atk_object_get_index_in_parent ##### -->
431 <!-- ##### FUNCTION atk_object_set_name ##### -->
440 <!-- ##### FUNCTION atk_object_set_description ##### -->
449 <!-- ##### FUNCTION atk_object_set_parent ##### -->
458 <!-- ##### FUNCTION atk_object_set_role ##### -->
467 <!-- ##### FUNCTION atk_object_connect_property_change_handler ##### -->
477 <!-- ##### FUNCTION atk_object_remove_property_change_handler ##### -->
486 <!-- ##### FUNCTION atk_object_notify_state_change ##### -->
496 <!-- ##### FUNCTION atk_object_initialize ##### -->
505 <!-- ##### FUNCTION atk_object_add_relationship ##### -->
516 <!-- ##### FUNCTION atk_object_remove_relationship ##### -->
527 <!-- ##### FUNCTION atk_role_get_name ##### -->
536 <!-- ##### FUNCTION atk_role_get_localized_name ##### -->
545 <!-- ##### FUNCTION atk_role_for_name ##### -->