Top | ![]() |
![]() |
![]() |
![]() |
void | AccessibleSelection_ref () |
void | AccessibleSelection_unref () |
long | AccessibleSelection_getNSelectedChildren () |
Accessible * | AccessibleSelection_getSelectedChild () |
SPIBoolean | AccessibleSelection_selectChild () |
SPIBoolean | AccessibleSelection_isChildSelected () |
SPIBoolean | AccessibleSelection_deselectSelectedChild () |
SPIBoolean | AccessibleSelection_deselectChild () |
SPIBoolean | AccessibleSelection_clearSelection () |
SPIBoolean | AccessibleSelection_selectAll () |
void
AccessibleSelection_ref (AccessibleSelection *obj
);
Increment the reference count for an AccessibleSelection object.
void
AccessibleSelection_unref (AccessibleSelection *obj
);
Decrement the reference count for an Accessible object.
long
AccessibleSelection_getNSelectedChildren
(AccessibleSelection *obj
);
Get the number of children of an AccessibleSelection implementor which are currently selected.
a long indicating the number of Accessible children of the AccessibleSelection implementor which are currently selected.
Accessible * AccessibleSelection_getSelectedChild (AccessibleSelection *obj
,long int selectedChildIndex
);
Get the i-th selected Accessible child of an AccessibleSelection.
Note that childIndex
refers to the index in the list of 'selected'
children and generally differs from that used in
or returned by
Accessible_getChildAtIndex()
. Accessible_getIndexInParent()
selectedChildIndex
must lie between 0
and
-1, inclusive.AccessibleSelection_getNSelectedChildren()
SPIBoolean AccessibleSelection_selectChild (AccessibleSelection *obj
,long int childIndex
);
Add a child to the selected children list of an AccessibleSelection. For AccessibleSelection implementors that only allow single selections, this may replace the (single) current selection.
obj |
a pointer to the AccessibleSelection on which to operate. |
|
childIndex |
a long indicating which child of the Accessible is to be selected. |
SPIBoolean AccessibleSelection_isChildSelected (AccessibleSelection *obj
,long int childIndex
);
Determine whether a particular child of an AccessibleSelection implementor
is currently selected. Note that childIndex
is the index into the
standard Accessible container's list of children.
SPIBoolean AccessibleSelection_deselectSelectedChild (AccessibleSelection *obj
,long int selectedChildIndex
);
Remove a child to the selected children list of an AccessibleSelection.
Note that 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 AccessibleSelection on which to operate. |
|
selectedChildIndex |
a long indicating which of the selected children of the Accessible is to be selected. |
SPIBoolean AccessibleSelection_deselectChild (AccessibleSelection *obj
,long int childIndex
);
Deselect a specific child of an AccessibleSelection.
Note that 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 AccessibleSelection on which to operate. |
|
childIndex |
a long indicating which of the children of the Accessible is to be de-selected. |
SPIBoolean
AccessibleSelection_clearSelection (AccessibleSelection *obj
);
Clear the current selection, removing all selected children from the specified AccessibleSelection implementor's selection list.