Mini Shell

Direktori : /usr/lib/python3.6/site-packages/pyatspi/__pycache__/
Upload File :
Current File : //usr/lib/python3.6/site-packages/pyatspi/__pycache__/hypertext.cpython-36.pyc

3

���X	�@s6ddlmZddlTddlTdgZGdd�de�ZdS)�)�Atspi)�*�	Hypertextc@s(eZdZdZdd�Zdd�Zdd�ZdS)	ra]
        An interface used for objects which implement linking between
        multiple resource or content locations, or multiple 'markers'
        within a single document. A Hypertext instance is associated
        with one or more Hyperlinks, which are associated with particular
        offsets within the Hypertext's included content.
        cCstjj|j|�S)a
                Get one of the Hyperlinks associated with this Hypertext object,
                by index.
                @param : linkIndex
                an integer from 0 to getNLinks() - 1. 
                @return the Hyperlink in this Hypertext object.
                )rrZget_link�obj)�self�index�r�/usr/lib/python3.6/hypertext.py�getLink#szHypertext.getLinkcCstjj|j|�S)a�
                Get the hyperlink index, if any, associated with a particular
                character offset in the Hypertext object. For Hypertext implementors
                without textual content, all hyperlinks are associated with character
                offset '0'.
                @return the index of the Hyperlink associated with character
                offset characterIndex, or -1 if no Hyperlink is associated with
                that character offset.
                )rrZget_link_indexr)rZcharacter_indexrrr	�getLinkIndex-s
zHypertext.getLinkIndexcCstjj|j�S)z�
                Query the hypertext object for the number of Hyperlinks it contains.
                @return the number of Hyperlinks associated with this Hypertext
                object, as a long integer.
                )rrZget_n_linksr)rrrr	�	getNLinks9szHypertext.getNLinksN)�__name__�
__module__�__qualname__�__doc__r
rrrrrr	rs
N)Z
gi.repositoryrZ
pyatspi.utilsZpyatspi.interface�__all__Z	interfacerrrrr	�<module>s