Gtk.TextBuffer.prototype.get_has_selection
function get_has_selection():Boolean { // Gjs wrapper for gtk_text_buffer_get_has_selection() }
Indicates whether the buffer has some text currently selected.
Since 2.10
- Returns
true if the there is text selected