+
    <i  c                   sB    ^ RI Ht ^ RI5 ^ RI5 R.t ! R R]4      tR# )i    )Atspi)Z*	Selectionc                   sl   a  ] tR t^t o RtR tR tR tR tR t	R t
R tR	 tR
t]! ]]R7      tRtV tR# )r   a  
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. A selected child has State::STATE_SELECTED,
and a child which may hypothetically be selected (though possibly
not programmatically selectable) has State::STATE_SELECTABLE.
c                T    \         P                  P                  V P                  4      # )z
Attempt to clear all selections (i.e. deselect all children)
of a Selection. Not all Selection implementations allow the removal
of all selections.
@return True if the selections were successfully cleared, False
otherwise.
)r    r   Zclear_selectionobjself   &6/usr/lib/python3.14/site-packages/pyatspi/selection.pyclearSelectionZSelection.clearSelection%   s     66txx@@    c                V    \         P                  P                  V P                  V4      # )aN  
Remove a child from the selected children list of a Selection,
if the child is currently selected.
@param : childIndex
a long integer (the zero offset index into the Accessible object's
list of children) indicating which child of the Selection is
to be selected.
@return True if the child was successfully selected, False otherwise.
)r    r   Zdeselect_childr   )r   Z
childIndex   &&r   deselectChildZSelection.deselectChild/   s     55dhh
KKr	   c                r
   )a  
Remove a child to the selected children list of a Selection.
@param : selectedChildIndex
a long integer indicating which of the selected children of the
Selection is to be deselected. The index is a zero-offset index
into the 'selected child list', not a zero-offset index into
the list of all children of the Selection.
@return True if the child was successfully deselected, False
otherwise.
)r    r   Zdeselect_selected_childr   r   Zindexr   r   deselectSelectedChildZSelection.deselectSelectedChild;   s     >>txxOOr	   c                r
   )a
  
Get the i-th selected Accessible child of a Selection. 
@param : selectedChildIndex
a long integer indicating which of the selected children of an
object is being requested. 
@return a pointer to a selected Accessible child object, specified
by selectedChildIndex.
)r    r   Zget_selected_childr   r   r   r   getSelectedChildZSelection.getSelectedChildH   s     99$((EJJr	   c                r
   )aR  
Determine whether a particular child of an Selection implementor
is currently selected. Note that childIndex is the zero-offset
index into the standard Accessible container's list of children.
@param : childIndex
an index into the Selection's list of children.
@return True if the specified child is currently selected, False
otherwise.
)r    r   Zis_child_selectedr   r   r   r   isChildSelectedZSelection.isChildSelectedS   s     885IIr	   c                r   )a  
Attempt to select all of the children of a Selection implementor.
Not all Selection implementors support this operation (for instance,
implementations which support only "single selection" do not
support this operation).
@return True if successful, False otherwise.
)r    r   Z
select_allr   r   r   r   	selectAllZSelection.selectAll_   s     11$((;;r	   c                r
   )z
Add a child to the selected children list of a Selection. 
@param : childIndex
a long integer indicating which child of the Selection is to
be selected.
@return True if the child was successfully selected, False otherwise.
)r    r   Zselect_childr   r   r   r   selectChildZSelection.selectChildi   s     33DHHeDDr	   c                r   )N)r    r   Zget_n_selected_childrenr   r   r   r   get_nSelectedChildrenZSelection.get_nSelectedChildrens   s    >>txxHHr	   z
                The number of children of a Selection implementor which are currently
                selected.
                )ZfgetZdoc N)Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r   r   r   r   r   r   r   r   Z_nSelectedChildrenDocZpropertyZnSelectedChildrenZ__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      sT     		A
	L	P		K
	J	<	E	I 	
 %*?EZ[r	   N)Zgi.repositoryr    Zpyatspi.utilsZpyatspi.interfaceZ__all__Z	interfacer   r   r	   r   <module>r      s,         `\	 `\r	   