Method

AtspiTextset_selection

Declaration [src]

gboolean
atspi_text_set_selection (
  AtspiText* obj,
  gint selection_num,
  gint start_offset,
  gint end_offset,
  GError** error
)

Description [src]

Changes the bounds of an existing AtspiText text selection.

Parameters

selection_num gint
 

A zero-offset index indicating which text selection to modify.

start_offset gint
 

A #gint indicating the new starting offset for the selection.

end_offset gint
 

A #gint indicating the desired new offset of the first character after the selection.

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

Return value

Returns: gboolean
 

TRUE if successful, FALSE otherwise.