Ë
    1f€  ã                   ó@   — d dl mZ d dl­ d dl­ dgZ G d„ de«      Zy)é    )ÚAtspi)Ú*Ú	Selectionc                   óX   — e Zd ZdZd„ Zd„ Zd„ Zd„ Zd„ Zd„ Z	d„ Z
d	„ Zd
Z eee¬«      Zy)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   — t         j                  j                  | j                  «      S )a@  
                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   Úclear_selectionÚobj©Úselfs    ú3/usr/lib/python3/dist-packages/pyatspi/selection.pyÚclearSelectionzSelection.clearSelection%   s   € ô —‘×6Ñ6°t·x±xÓ@Ð@ó    c                 óV   — t         j                  j                  | j                  |«      S )aÎ  
                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   Údeselect_childr	   )r   Ú
childIndexs     r   ÚdeselectChildzSelection.deselectChild/   s   € ô —‘×5Ñ5°d·h±hÀ
ÓKÐKr   c                 óV   — t         j                  j                  | j                  |«      S )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   Údeselect_selected_childr	   ©r   Úindexs     r   ÚdeselectSelectedChildzSelection.deselectSelectedChild;   s   € ô —‘×>Ñ>¸t¿x¹xÈÓOÐOr   c                 óV   — t         j                  j                  | j                  |«      S )az  
                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   Úget_selected_childr	   r   s     r   ÚgetSelectedChildzSelection.getSelectedChildH   s   € ô —‘×9Ñ9¸$¿(¹(ÀEÓJÐJr   c                 óV   — t         j                  j                  | j                  |«      S )aÒ  
                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   Úis_child_selectedr	   r   s     r   ÚisChildSelectedzSelection.isChildSelectedS   s   € ô —‘×8Ñ8¸¿¹À5ÓIÐIr   c                 óT   — t         j                  j                  | j                  «      S )ak  
                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   Ú
select_allr	   r
   s    r   Ú	selectAllzSelection.selectAll_   s   € ô —‘×1Ñ1°$·(±(Ó;Ð;r   c                 óV   — t         j                  j                  | j                  |«      S )a@  
                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   Úselect_childr	   r   s     r   ÚselectChildzSelection.selectChildi   s   € ô —‘×3Ñ3°D·H±H¸eÓDÐDr   c                 óT   — t         j                  j                  | j                  «      S )N)r   r   Úget_n_selected_childrenr	   r
   s    r   Úget_nSelectedChildrenzSelection.get_nSelectedChildrens   s   € Ü—‘×>Ñ>¸t¿x¹xÓHÐHr   z�
                The number of children of a Selection implementor which are currently
                selected.
                )ÚfgetÚdocN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r    r#   r&   Ú_nSelectedChildrenDocÚpropertyÚnSelectedChildren© r   r   r   r      sQ   „ ñ	ò	Aò
	Lò	Pò		Kò
	Jò	<ò	Eò	Iðð 	ñ
 %Ð*?ÐEZÔ[Ñr   N)Úgi.repositoryr   Úpyatspi.utilsÚpyatspi.interfaceÚ__all__Ú	interfacer   r0   r   r   ú<module>r6      s,   ðõ   Ü Ü ð ð€ô`\�	õ `\r   