| AT-SPI C Bindings Reference Manual | ||||
|---|---|---|---|---|
void AccessibleSelection_ref (AccessibleSelection *obj);void AccessibleSelection_unref (AccessibleSelection *obj);long AccessibleSelection_getNSelectedChildren (AccessibleSelection *obj); Accessible* AccessibleSelection_getSelectedChild (AccessibleSelection *obj, longint selectedChildIndex);SPIBoolean AccessibleSelection_selectChild (AccessibleSelection *obj, longint childIndex);SPIBoolean AccessibleSelection_isChildSelected (AccessibleSelection *obj, longint childIndex);SPIBoolean AccessibleSelection_deselectSelectedChild (AccessibleSelection *obj, longint selectedChildIndex);SPIBoolean AccessibleSelection_deselectChild (AccessibleSelection *obj, longint childIndex);SPIBoolean AccessibleSelection_clearSelection (AccessibleSelection *obj);SPIBoolean AccessibleSelection_selectAll (AccessibleSelection *obj);
void AccessibleSelection_ref (AccessibleSelection *obj);
Increment the reference count for an
obj : |
a pointer to the |
void AccessibleSelection_unref (AccessibleSelection *obj);
Decrement the reference count for an Accessible object.
obj : |
a pointer to the |
long AccessibleSelection_getNSelectedChildren (AccessibleSelection *obj);
Get the number of children of an
obj : |
a pointer to the |
| Returns : | a |
Accessible* AccessibleSelection_getSelectedChild (AccessibleSelection *obj, longint selectedChildIndex);
Get the i-th selected Accessible child of an childIndex refers to the index in the list of 'selected'
children and generally differs from that used in
#Accessible_getChildAtIndex() or returned by
#Accessible_getIndexInParent(). selectedChildIndex must lie between 0
and #AccessibleSelection_getNSelectedChildren()-1, inclusive.
obj : |
a pointer to the |
selectedChildIndex : |
a |
| Returns : | a pointer to a selected Accessible child object,
specified by childIndex.
|
SPIBoolean AccessibleSelection_selectChild (AccessibleSelection *obj, longint childIndex);
Add a child to the selected children list of an
obj : |
a pointer to the |
childIndex : |
a |
| Returns : | |
SPIBoolean AccessibleSelection_isChildSelected (AccessibleSelection *obj, longint childIndex);
Determine whether a particular child of an childIndex is the index into the
standard Accessible container's list of children.
obj : |
a pointer to the |
childIndex : |
an index into the |
| Returns : | |
SPIBoolean AccessibleSelection_deselectSelectedChild (AccessibleSelection *obj, longint selectedChildIndex);
Remove a child to the selected children list of an childIndex is the index in the selected-children list,
not the index in the parent container. selectedChildIndex in this
method, and childIndex in AccessibleSelection_selectChild
are asymmettric.
obj : |
a pointer to the |
selectedChildIndex : |
a |
| Returns : | |
SPIBoolean AccessibleSelection_deselectChild (AccessibleSelection *obj, longint childIndex);
Deselect a specific child of an childIndex is the index of the child
in the parent container.
See AccessibleSelection_deselectSelectedChild
Since AT-SPI 1.8.0
obj : |
a pointer to the |
childIndex : |
a |
| Returns : | |
SPIBoolean AccessibleSelection_clearSelection (AccessibleSelection *obj);
Clear the current selection, removing all selected children from the
specified
obj : |
a pointer to the |
| Returns : | |
SPIBoolean AccessibleSelection_selectAll (AccessibleSelection *obj);
Attempt to select all of the children of an
obj : |
a pointer to the |
| Returns : | |