GtkTextBuffer::select_range

void select_range(GtkTextIter ins, GtkTextIter bound);

See also: insert_range()