scroll_substring_to_point


Description:

public bool scroll_substring_to_point (int start_offset, int end_offset, CoordType coords, int x, int y) throws Error

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

Parameters:

this

a pointer to the Text object on which to operate.

start_offset

a int indicating the start of the desired text range.

end_offset

a int indicating the first character past the desired range.

coords

a CoordType indicating whether the coordinates are relative to the screen, to the window, or to the parent object.

x

the x coordinate of the point to reach

y

the y coordinate of the point to reach

Returns:

TRUE if successful, FALSE otherwise.




2022 vala-language.org