summaryrefslogtreecommitdiff
path: root/gtk/gtkentrycompletion.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-04-04 05:15:32 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-04-04 05:15:32 +0000
commitc4e31ace4d84aa275a857dc60e9ddf6a1fb41339 (patch)
tree673f011bca3a300187f2e976688909af44c28133 /gtk/gtkentrycompletion.h
parent36388a1fbfe0955bab5b7884a82788a1a16c2d7f (diff)
downloadgtk+-c4e31ace4d84aa275a857dc60e9ddf6a1fb41339.tar.gz
Allow completion popups to be wider than the entry. (#131916, Ross Burton)
2005-04-04 Matthias Clasen <mclasen@redhat.com> Allow completion popups to be wider than the entry. (#131916, Ross Burton) * gtk/gtkentrycompletion.[hc]: Add a boolean popup-set-width property. * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): Don't force the popup to have the same width as the entry if popup-set-width is FALSE. * gtk/gtk.symbols: Add new functions.
Diffstat (limited to 'gtk/gtkentrycompletion.h')
-rw-r--r--gtk/gtkentrycompletion.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkentrycompletion.h b/gtk/gtkentrycompletion.h
index f1e22ebcc7..24ce984d0d 100644
--- a/gtk/gtkentrycompletion.h
+++ b/gtk/gtkentrycompletion.h
@@ -107,6 +107,10 @@ gboolean gtk_entry_completion_get_inline_completion (GtkEntryComplet
void gtk_entry_completion_set_popup_completion (GtkEntryCompletion *completion,
gboolean popup_completion);
gboolean gtk_entry_completion_get_popup_completion (GtkEntryCompletion *completion);
+void gtk_entry_completion_set_popup_set_width (GtkEntryCompletion *completion,
+ gboolean popup_set_width);
+gboolean gtk_entry_completion_get_popup_set_width (GtkEntryCompletion *completion);
+
/* convenience */
void gtk_entry_completion_set_text_column (GtkEntryCompletion *completion,