Class
AtkGObjectAccessible
Description [src]
class Atk.GObjectAccessible : Atk.Object {
parent: AtkObject
}
This object class is derived from AtkObject and can be used as a basis implementing accessible objects.
This object class is derived from AtkObject. It can be used as a basis for implementing accessible objects for GObjects which are not derived from GtkWidget. One example of its use is in providing an accessible object for GnomeCanvasItem in the GAIL library.
Ancestors
- AtkObject
- GObject
Instance methods
atk_gobject_accessible_get_object
Gets the GObject for which obj is the accessible object.
Methods inherited from AtkObject (26)
atk_object_add_relationship
Adds a relationship of the specified type with the specified target.
atk_object_connect_property_change_handler
Calls handler on property changes.
Deprecated since: 2.12
atk_object_get_accessible_id
Gets the accessible id of the accessible.
Available since: 2.34
atk_object_get_attributes
Get a list of properties applied to this object as a whole, as an AtkAttributeSet consisting of
name-value pairs. As such these attributes may be considered weakly-typed properties or annotations,
as distinct from strongly-typed object data available via other get/set methods.
Not all objects have explicit “name-value pair” AtkAttributeSet properties.
Available since: 1.12
atk_object_get_description
Gets the accessible description of the accessible.
atk_object_get_index_in_parent
Gets the 0-based index of this accessible in its parent; returns -1 if the accessible does not have an accessible parent.
atk_object_get_layer
Gets the layer of the accessible.
atk_object_get_mdi_zorder
Gets the zorder of the accessible. The value G_MININT will be returned if the layer of the accessible is not ATK_LAYER_MDI.
atk_object_get_n_accessible_children
Gets the number of accessible children of the accessible.
atk_object_get_name
Gets the accessible name of the accessible.
atk_object_get_object_locale
Gets a UTF-8 string indicating the POSIX-style LC_MESSAGES locale
of accessible.
Available since: 2.8
atk_object_get_parent
Gets the accessible parent of the accessible. By default this is
the one assigned with atk_object_set_parent(), but it is assumed
that ATK implementors have ways to get the parent of the object
without the need of assigning it manually with
atk_object_set_parent(), and will return it with this method.
atk_object_get_role
Gets the role of the accessible.
atk_object_initialize
This function is called when implementing subclasses of AtkObject.
It does initialization required for the new object. It is intended
that this function should called only in the …_new() functions used
to create an instance of a subclass of AtkObject.
atk_object_notify_state_change
Emits a state-change signal for the specified state.
atk_object_peek_parent
Gets the accessible parent of the accessible, if it has been
manually assigned with atk_object_set_parent. Otherwise, this
function returns NULL.
atk_object_ref_accessible_child
Gets a reference to the specified accessible child of the object. The accessible children are 0-based so the first accessible child is at index 0, the second at index 1 and so on.
atk_object_ref_relation_set
Gets the AtkRelationSet associated with the object.
atk_object_ref_state_set
Gets a reference to the state set of the accessible; the caller must unreference it when it is no longer needed.
atk_object_remove_property_change_handler
Removes a property change handler.
Deprecated since: 2.12
atk_object_remove_relationship
Removes a relationship of the specified type with the specified target.
atk_object_set_accessible_id
Sets the accessible ID of the accessible. This is not meant to be presented to the user, but to be an ID which is stable over application development. Typically, this is the gtkbuilder ID. Such an ID will be available for instance to identify a given well-known accessible object for tailored screen reading, or for automatic regression testing.
Available since: 2.34
atk_object_set_description
Sets the accessible description of the accessible. You can’t set the description to NULL. This is reserved for the initial value. In this aspect NULL is similar to ATK_ROLE_UNKNOWN. If you want to set the name to a empty value you can use “”.
Class structure
struct AtkGObjectAccessibleClass {
AtkObjectClass parent_class;
AtkFunction pad1;
AtkFunction pad2;
}
Class members
parent_class |
|
| No description available. | |
pad1 |
|
| No description available. | |
pad2 |
|
| No description available. |
Functions
atk_gobject_accessible_for_object
Gets the accessible object for the specified obj.