diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2005-10-07 03:38:57 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-10-07 03:38:57 +0000 |
commit | b863d240896e978589356c46a32fef7fbbbad122 (patch) | |
tree | c30631f04d78e18275cb5fe9c154ceffcd23f777 /gtk/gtktextbuffer.h | |
parent | 748c99f0ca3834619f3db62c507b42cf70ca68e5 (diff) | |
download | gtk+-b863d240896e978589356c46a32fef7fbbbad122.tar.gz |
Add a has-selection property
Diffstat (limited to 'gtk/gtktextbuffer.h')
-rw-r--r-- | gtk/gtktextbuffer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtktextbuffer.h b/gtk/gtktextbuffer.h index daac40831c..04aac94f0a 100644 --- a/gtk/gtktextbuffer.h +++ b/gtk/gtktextbuffer.h @@ -70,6 +70,8 @@ struct _GtkTextBuffer /* Whether the buffer has been modified since last save */ guint modified : 1; + + guint has_selection : 1; }; struct _GtkTextBufferClass @@ -337,6 +339,8 @@ gboolean gtk_text_buffer_get_modified (GtkTextBuffer *buffer); void gtk_text_buffer_set_modified (GtkTextBuffer *buffer, gboolean setting); +gboolean gtk_text_buffer_get_has_selection (GtkTextBuffer *buffer); + void gtk_text_buffer_add_selection_clipboard (GtkTextBuffer *buffer, GtkClipboard *clipboard); void gtk_text_buffer_remove_selection_clipboard (GtkTextBuffer *buffer, |