Method

AtspiTextget_text_after_offset

Declaration [src]

AtspiTextRange*
atspi_text_get_text_after_offset (
  AtspiText* obj,
  gint offset,
  AtspiTextBoundaryType type,
  GError** error
)

Description [src]

Gets delimited text from an AtspiText object which follows a given text offset.

Parameters

offset gint
 

A #gint indicating the offset from which the delimiter search is based.

type AtspiTextBoundaryType
 

An AtspiTextBoundaryType indicating whether the desired text string is a word, sentence, line, or attribute run.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: AtspiTextRange
 

An AtspiTextRange containing a UTF-8 string representing the delimited text, both of whose delimiting boundaries are after or inclusive of the current offset, or an empty string if no such text exists.

 The caller of the method takes ownership of the data, and is responsible for freeing it.