Method

AtkTextadd_selection

Declaration [src]

gboolean
atk_text_add_selection (
  AtkText* text,
  gint start_offset,
  gint end_offset
)

Description [src]

Adds a selection bounded by the specified offsets.

Parameters

start_offset gint
 

The starting character offset of the selected region.

end_offset gint
 

The offset of the first character after the selected region.

Return value

Returns: gboolean
 

TRUE if successful, FALSE otherwise.