set_caret_offset


Description:

public bool set_caret_offset (int new_offset) throws Error

Moves the text caret to a given position.

Parameters:

this

a pointer to the Text object on which to operate.

new_offset

the offset to which the text caret is to be moved.

Returns:

TRUE if successful, FALSE otherwise.




2022 vala-language.org