Atspi.Hypertext¶
- Implementations:
Methods¶
|
|
|
|
|
Virtual Methods¶
None
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class Atspi.Hypertext¶
- Bases:
An interface used for objects which implement linking between multiple resource locations.
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 content.
- get_link(link_index)¶
- Parameters:
link_index (
int) – a (zero-index)intindicating which hyperlink to query.- Raises:
- Returns:
the
Atspi.Hyperlinkobject specified by link_index.- Return type:
Gets the
Atspi.Hyperlinkobject at a specified index.
- get_link_index(character_offset)¶
- Parameters:
character_offset (
int) – aintspecifying the character offset to query.- Raises:
- Returns:
the linkIndex of the
Atspi.Hyperlinkactive at character offset character_offset, or -1 if there is no hyperlink at the specified character offset.- Return type:
Gets the index of the
Atspi.Hyperlinkobject at a specified character offset.
- get_n_links()¶
- Raises:
- Returns:
a
intindicating the number ofAtspi.Hyperlinkobjects of theAtspi.Hypertextimplementor, or -1 if the number cannot be determined (for example, if theAtspi.Hypertextobject is so large that it is not all currently in the memory cache).- Return type:
Gets the total number of
Atspi.Hyperlinkobjects that anAtspi.Hypertextimplementor has.