Method

AtspiTextscroll_substring_to_point

Declaration [src]

gboolean
atspi_text_scroll_substring_to_point (
  AtspiText* obj,
  gint start_offset,
  gint end_offset,
  AtspiCoordType coords,
  gint x,
  gint y,
  GError** error
)

Description [src]

Scrolls whatever container of the AtspiText text range so it becomes visible on the screen at a given position.

Parameters

start_offset gint
 

A #gint indicating the start of the desired text range.

end_offset gint
 

A #gint indicating the first character past the desired range.

coords AtspiCoordType
 

A AtspiCoordType indicating whether the coordinates are relative to the screen, to the window, or to the parent object.

x gint
 

The x coordinate of the point to reach.

y gint
 

The y coordinate of the point to reach.

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

Return value

Returns: gboolean
 

TRUE if successful, FALSE otherwise.