Virtual Method


Declaration [src]

get_text (
  AtkText* text,
  gint start_offset,
  gint end_offset

Description [src]

Gets the specified text.


start_offset gint

A starting character offset within text.

end_offset gint

An ending character offset within text, or -1 for the end of the string.

Return value

Returns: 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 function takes ownership of the data, and is responsible for freeing it.
 The value is a NUL terminated UTF-8 string.