add_selection


Description:

public bool add_selection (int start_offset, int end_offset) throws Error

Selects some text (adds a text selection) in an Text object.

Parameters:

this

a pointer to the Text object on which to operate.

start_offset

the starting offset of the desired new selection.

end_offset

the offset of the first character after the new selection.

Returns:

TRUE if successful, FALSE otherwise.




2022 vala-language.org