select_region


Description:

[ CCode ( vfunc_name = "set_selection_bounds" ) ]
public abstract void select_region (int start_pos, int end_pos)

Selects a region of text.

The characters that are selected are those characters at positions from start_pos up to, but not including end_pos . If end_pos is negative, then the characters selected are those characters from start_pos to the end of the text.

Note that positions are specified in characters, not bytes.

Parameters:

this

a `GtkEditable`

start_pos

start of region

end_pos

end of region




2022 vala-language.org