atk.selection
Module for [Selection] interface
Types 2
interfaceSelection
The ATK interface implemented by container objects whose #AtkObject children can be selected.
#AtkSelection should be implemented by UI components with children which are exposed by #atk_object_ref_child and #atk_object_get_n_children, if the use of the parent UI component ordinarily involves selection of one or more of the objects corresponding to those #AtkObject children - for example, selectable lists.
Note that other types of "selection" (for instance text selection) are accomplished a other ATK interfaces - #AtkSelection is limited to the selection/deselection of children.
Methods
bool addSelection(int i)Adds the specified accessible child of the object to the object's selection.bool clearSelection()Clears the selection in the object so that no children in the object are selected. Returns: TRUE if success, FALSE otherwise.int getSelectionCount()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 ...bool isChildSelected(int i)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 ...atk.object.ObjectWrap refSelection(int i)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 AtkSelectionIfa...bool removeSelection(int i)Removes the specified child of the object from the object's selection.bool selectAllSelection()Causes every child of the object to be selected if the object supports multiple selections. Returns: TRUE if success, FALSE otherwise.gulong connectSelectionChanged(T)(T callback, Flag!"After" after = No.After)Connect to `SelectionChanged` signal.interfaceSelectionGidBuilderImpl(T)