| libatspi Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Known Implementations | ||||
AtspiHypertext; gint atspi_hypertext_get_n_links (AtspiHypertext *obj,GError **error); AtspiHyperlink * atspi_hypertext_get_link (AtspiHypertext *obj,gint link_index,GError **error); gint atspi_hypertext_get_link_index (AtspiHypertext *obj,gint character_offset,GError **error);
gint atspi_hypertext_get_n_links (AtspiHypertext *obj,GError **error);
Get the total number of AtspiHyperlinks which an AtspiHypertext implementor has.
|
a pointer to the AtspiHypertext implementor on which to operate. |
Returns : |
a gint indicating the number of AtspiHyperlinks of the AtspiHypertext implementor, or -1 if the number cannot be determined (for example, if the AtspiHypertext object is so large that it is not all currently in the memory cache). |
AtspiHyperlink * atspi_hypertext_get_link (AtspiHypertext *obj,gint link_index,GError **error);
Get the AtspiHyperlink object at a specified index.
|
a pointer to the AtspiHypertext implementor on which to operate. |
|
a (zero-index) integer indicating which hyperlink to query. |
Returns : |
the AtspiHyperlink object specified by link_index. [transfer full] |
gint atspi_hypertext_get_link_index (AtspiHypertext *obj,gint character_offset,GError **error);
Get the index of the AtspiHyperlink object at a specified character offset.
|
a pointer to the AtspiHypertext implementor on which to operate. |
|
an integer specifying the character offset to query. |
Returns : |
the linkIndex of the AtspiHyperlink active at
character offset character_offset, or -1 if there is
no hyperlink at the specified character offset. |