Interface

AtspiSelection

Description [src]

interface Atspi.Selection : GObject.Object

An interface which indicates that an object exposes a ‘selection’ model, allowing the selection of one or more of its children.

An interface which indicates that an object exposes a ‘selection’ model, allowing the selection of one or more of its children. Read-only Selection instances are possible, in which case the interface is used to programmatically determine the selected-ness of its children.

Prerequisite

In order to implement Selection, your type must inherit fromGObject.

Implementations

Instance methods

atspi_selection_clear_selection

Clears the current selection, removing all selected children from the specified AtspiSelection implementor’s selection list.

atspi_selection_deselect_child

Deselects a specific child of an AtspiSelection. Note that child_index is the index of the child in the parent container.

atspi_selection_deselect_selected_child

Removes a child from the selected children list of an AtspiSelection. Note that child_index is the index in the selected-children list, not the index in the parent container. selectedChildIndex in this method, and child_index in #atspi_selection_select_child are asymmetric.

atspi_selection_get_n_selected_children

Gets the number of children of an AtspiSelection implementor which are currently selected.

atspi_selection_get_selected_child

Gets the i-th selected AtspiAccessible child of an AtspiSelection. Note that selected_child_index refers to the index in the list of ‘selected’ children and generally differs from that used in #atspi_accessible_get_child_at_index or returned by #atspi_accessible_get_index_in_parent. selected_child_index must lie between 0 and #atspi_selection_get_n_selected_children - 1, inclusive.

atspi_selection_is_child_selected

Determines whether a particular child of an AtspiSelection implementor is currently selected. Note that child_index is the index into the standard AtspiAccessible container’s list of children.

atspi_selection_select_all

Attempts to select all of the children of an AtspiSelection implementor. Not all AtspiSelection implementors support this operation.

atspi_selection_select_child

Adds a child to the selected children list of an AtspiSelection. For AtspiSelection implementors that only allow single selections, this may replace the (single) current selection.