set_cursor_position


Description:

public void set_cursor_position (int position)

Sets the cursor of a Text actor at position.

The position is expressed in characters, not in bytes.

Parameters:

this

a Text

position

the new cursor position, in characters




2022 vala-language.org