Method

AtkTextscroll_substring_to_point

Declaration [src]

gboolean
atk_text_scroll_substring_to_point (
  AtkText* text,
  gint start_offset,
  gint end_offset,
  AtkCoordType coords,
  gint x,
  gint y
)

Description [src]

Move the top-left of a substring of text to a given position of the screen by scrolling all necessary parents.

Available since:2.32

Parameters

start_offset gint
 

Start offset in the text.

end_offset gint
 

End offset in the text, or -1 for the end of the text.

coords AtkCoordType
 

Specify whether coordinates are relative to the screen or to the parent object.

x gint
 

X-position where to scroll to.

y gint
 

Y-position where to scroll to.

Return value

Returns: gboolean
 

Whether scrolling was successful.