summaryrefslogtreecommitdiff
path: root/atk/atkhypertext.c
diff options
context:
space:
mode:
authorBrian Cameron <bcameron@src.gnome.org>2001-05-16 12:40:29 +0000
committerBrian Cameron <bcameron@src.gnome.org>2001-05-16 12:40:29 +0000
commite5d4548d3f59062dd2b9923826ef86ac3b626524 (patch)
tree02a65f01dd66e6812319ccd133de6cf1f7d65536 /atk/atkhypertext.c
parentefcdf4bdfa016bbcbcac4669101f19c09d25e6e8 (diff)
downloadat-spi2-core-e5d4548d3f59062dd2b9923826ef86ac3b626524.tar.gz
Added better gtk-doc comments.
Diffstat (limited to 'atk/atkhypertext.c')
-rwxr-xr-xatk/atkhypertext.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/atk/atkhypertext.c b/atk/atkhypertext.c
index 01af03b0..b103a816 100755
--- a/atk/atkhypertext.c
+++ b/atk/atkhypertext.c
@@ -61,6 +61,17 @@ atk_hypertext_interface_init (AtkHypertextIfaceClass *klass)
parent_class = g_type_class_ref (ATK_TYPE_HYPERTEXT);
}
+/**
+ *atk_hypertext_get_link:
+ *@hypertext: an #AtkHypertext
+ *@link_index: the index of the link to be returned
+ *
+ * Gets the link in this hypertext document at index
+ * @link_index
+ *
+ *Returns: the link in this hypertext document at
+ * index @link_index
+ **/
AtkHyperLink*
atk_hypertext_get_link (AtkHypertext *hypertext,
gint link_index)
@@ -78,6 +89,14 @@ atk_hypertext_get_link (AtkHypertext *hypertext,
return NULL;
}
+/**
+ *atk_hypertext_get_n_links:
+ *@hypertext: an #AtkHypertext
+ *
+ * Gets the number of links within this hypertext document.
+ *
+ *Returns: the number of links within this hypertext document
+ **/
gint
atk_hypertext_get_n_links (AtkHypertext *hypertext)
{
@@ -94,6 +113,19 @@ atk_hypertext_get_n_links (AtkHypertext *hypertext)
return 0;
}
+/**
+ *atk_hypertext_get_link_index:
+ *@hypertext: an #AtkHypertext
+ *@char_index: a character index
+ *
+ * Gets the index into the array of hyperlinks that is associated with
+ * @char_index character index, or -1 if there is no hyperlink associated with
+ * @char_index.
+ *
+ * Returns: the index into the array of hyperlinks that is associated with
+ * @char_index character index, or -1 if there is no hyperlink associated with
+ * @char_index.
+ **/
gint
atk_hypertext_get_link_index (AtkHypertext *hypertext,
gint char_index)