
    1f	                     @    d dl mZ d dl d dl dgZ G d de      Zy)    )Atspi)*	Hypertextc                   "    e Zd ZdZd Zd Zd Zy)r   a]  
        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.
        c                 V    t         j                  j                  | 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.
                )r   r   get_linkobj)selfindexs     3/usr/lib/python3/dist-packages/pyatspi/hypertext.pygetLinkzHypertext.getLink#   s     //%@@    c                 V    t         j                  j                  | 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.
                )r   r   get_link_indexr	   )r
   character_indexs     r   getLinkIndexzHypertext.getLinkIndex-   s     55dhhPPr   c                 T    t         j                  j                  | 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.
                )r   r   get_n_linksr	   )r
   s    r   	getNLinkszHypertext.getNLinks9   s     22488<<r   N)__name__
__module____qualname____doc__r   r   r    r   r   r   r      s    		A
	Q	=r   N)gi.repositoryr   pyatspi.utilspyatspi.interface__all__	interfacer   r   r   r   <module>r       s(         %=	 %=r   