Name
AtkSelection -- accessibility interface for determining what the current selected
children are, as well as modify the selection set
Description
The AtkSelection interface provides the standard mechanism for an
assistive technology to determine what the current selected children are,
as well as modify the selection set. Any object that has children that
can be selected should support the AtkSelection interface.
Details
struct AtkSelectionIface
struct AtkSelectionIface
{
GTypeInterface parent;
void (* add_selection) (AtkSelection *selection,
gint i);
void (* clear_selection) (AtkSelection *selection);
AtkObject* (* ref_selection) (AtkSelection *selection,
gint i);
gint (* get_selection_count) (AtkSelection *selection);
gboolean (* is_child_selected) (AtkSelection *selection,
gint i);
void (* remove_selection) (AtkSelection *selection,
gint i);
void (* select_all_selection) (AtkSelection *selection);
}; |
atk_selection_add_selection ()
Adds the specified accessible child of the object to the
object's selection.
atk_selection_clear_selection ()
void atk_selection_clear_selection (AtkSelection *selection); |
Clears the selection in the object so that no children in the object
are selected.
atk_selection_ref_selection ()
Gets a reference to the accessible object representing the specified
selected child of the object.
Note: callers should not rely on NULL or on a zero value for
indication of whether AtkSelectionIface is implemented, they should
use type checking/interface checking macros or the
atk_get_accessible_value() convenience method.
atk_selection_get_selection_count ()
Gets the number of accessible children currently selected.
Note: callers should not rely on NULL or on a zero value for
indication of whether AtkSelectionIface is implemented, they should
use type checking/interface checking macros or the
atk_get_accessible_value() convenience method.
atk_selection_is_child_selected ()
Determines if the current child of this object is selected
Note: callers should not rely on NULL or on a zero value for
indication of whether AtkSelectionIface is implemented, they should
use type checking/interface checking macros or the
atk_get_accessible_value() convenience method.
atk_selection_remove_selection ()
Removes the specified child of the object from the object's selection.
atk_selection_select_all_selection ()
void atk_selection_select_all_selection
(AtkSelection *selection); |
Causes every child of the object to be selected if the object
supports multiple selections.