Method

GtkTextBufferget_has_selection

Declaration [src]

gboolean
gtk_text_buffer_get_has_selection (
  GtkTextBuffer* buffer
)

Description [src]

Indicates whether the buffer has some text currently selected.

Return value

Type: gboolean

TRUE if the there is text selected.