Method

GtkTextBufferget_has_selection

since: 2.10

Declaration [src]

gboolean
gtk_text_buffer_get_has_selection (
  GtkTextBuffer* buffer
)

Description [src]

Indicates whether the buffer has some text currently selected.

Available since: 2.10

Return value

Type: gboolean

TRUE if the there is text selected.