| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/pyatspi/__pycache__/ |
Upload File : |
o
�ֱa � @ s6 d dl mZ d dlT d dlT dgZG dd� de�ZdS )� )�Atspi)�*� Hypertextc @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) 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 C � t 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�index� r
�3/usr/lib/python3/dist-packages/pyatspi/hypertext.py�getLink# s zHypertext.getLinkc C r )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_indexr
r
r �getLinkIndex- s
zHypertext.getLinkIndexc C s t 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 r
r
r � getNLinks9 s zHypertext.getNLinksN)�__name__�
__module__�__qualname__�__doc__r r r r
r
r
r r s
N)�
gi.repositoryr �
pyatspi.utils�pyatspi.interface�__all__� interfacer r
r
r
r �<module> s �