void set_selection_bounds ( GtkEditable* editable, gint start_pos, gint end_pos )
Selects a region of text. The characters that are selected are
those characters at positions from
start_pos up to, but not
end_pos is negative, then the
characters selected are those characters from
the end of the text.
Note that positions are specified in characters, not bytes.