Last updated: Sun, 12 May 2013 view this page in English
GtkEditable::set_position
void set_position(int position);
Sets the cursor position.
The cursor is displayed before the character with the given (base 0)
index in the widget. The value must be less than or equal to the number
of characters in the widget. A value of -1 indicates
that the position should be set after the last character in the entry.
Note that this position is in characters, not in bytes.