GtkEditable::get_selection_bounds

array get_selection_bounds();

Gets the current selection bounds, if there is a selection.

If there is one, the method returns an array with starting and ending locations. Having no selection, the method returns false.