summaryrefslogtreecommitdiff
path: root/gtk/gtkentryprivate.h
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-04-27 16:50:04 +0000
committerXan Lopez <xan@src.gnome.org>2007-04-27 16:50:04 +0000
commitf478d9f0f61d46102507a034f63919a5c9cb0e04 (patch)
treeb5937070036152184094e94d4bfc963d04468f28 /gtk/gtkentryprivate.h
parent533d3fcc76b39fc4c71afae9c2a31e8147851b8c (diff)
downloadgtk+-f478d9f0f61d46102507a034f63919a5c9cb0e04.tar.gz
Support inline-selection in entries (#318459)
Support inline-selection in entries (#318459) * gtk/gtkentry.c: * gtk/gtkentrycompletion.c: * gtk/gtkentrycompletion.h: * gtk/gtkentryprivate.h: When enabled cursor-match is emited when the cursor is on a possible completion on the list. The default implementation will replace the contents on the entry with the contents of the text column in the completion model. Review and improvements by Matthias Clasen. svn path=/trunk/; revision=17660
Diffstat (limited to 'gtk/gtkentryprivate.h')
-rw-r--r--gtk/gtkentryprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkentryprivate.h b/gtk/gtkentryprivate.h
index 6589a0c201..696f744401 100644
--- a/gtk/gtkentryprivate.h
+++ b/gtk/gtkentryprivate.h
@@ -64,6 +64,8 @@ struct _GtkEntryCompletionPrivate
guint popup_completion : 1;
guint popup_set_width : 1;
guint popup_single_match : 1;
+ guint inline_selection : 1;
+
GSource *check_completion_idle;
};