Method
AtkTextget_text
Declaration [src]
gchar*
atk_text_get_text (
AtkText* text,
gint start_offset,
gint end_offset
)
Parameters
start_offset-
Type:
gintA starting character offset within
text. end_offset-
Type:
gintAn ending character offset within
text, or -1 for the end of the string.
Return value
Type: gchar*
A newly allocated string containing the text from start_offset up
to, but not including end_offset. Use g_free() to free the returned string.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |
| The value is a NUL terminated UTF-8 string. |