GtkEditable::select_region
void select_region(int
start, int
end);
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 the characters
selected will be those characters from start_pos
to the end of the text.
Example 58. Selecting all text
$text = $editable->select_region(0, -1);
|