Gtk.TextBuffer.HasSelection Property
Indicates presence of a selection.

Syntax

[GLib.Property("has-selection")]
public bool HasSelection { get; }

Value

if true, there is text selected currently.

Remarks

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Since: Gtk# 2.10