Gtk.TextBuffer.has_selection – gtk+-3.0 Reference Manual
has_selection
Description:
[
Version
( since =
"2.10"
) ]
public
bool
has_selection
{
get
; }
Whether the buffer has some text currently selected.
2022 vala-language.org