Virtual Method

AtkTextget_text_after_offset

Declaration [src]

gchar*
get_text_after_offset (
  AtkText* text,
  gint offset,
  AtkTextBoundary boundary_type,
  gint* start_offset,
  gint* end_offset
)

Description [src]

Gets the specified text.

Deprecated since:2.9.3

Please use atk_text_get_string_at_offset() instead.

Parameters

offset gint
 

Position.

boundary_type AtkTextBoundary
 

An AtkTextBoundary.

start_offset gint*
 

The starting character offset of the returned string.

 The argument will be set by the function.
 The called function takes ownership of the data, and is responsible for freeing it.
end_offset gint*
 

The offset of the first character after the returned substring.

 The argument will be set by the function.
 The called function takes ownership of the data, and is responsible for freeing it.

Return value

Returns: gchar*
 

A newly allocated string containing the text after offset bounded by the specified boundary_type. 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 string is a NUL terminated UTF-8 string.