diff options
author | Tristan Van Berkom <tristanvb@openismus.com> | 2011-10-06 11:14:38 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2011-10-06 11:14:38 +0200 |
commit | 2677a7d5b9ec469049f63c4f99b86d95e7dd4f63 (patch) | |
tree | 7c251c5e7017163bd7627d5f68e4c229b7291d1c /gtk/gtkcombobox.h | |
parent | f920ded54116f44c9f269d2e509d108a85e943b0 (diff) | |
download | gtk+-2677a7d5b9ec469049f63c4f99b86d95e7dd4f63.tar.gz |
GtkComboBox: Add the format-entry-text signal.
This provides more control over how the selected item is shown in
the entry.
Bug #631167
Diffstat (limited to 'gtk/gtkcombobox.h')
-rw-r--r-- | gtk/gtkcombobox.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkcombobox.h b/gtk/gtkcombobox.h index 776d1b74be..b13834cf58 100644 --- a/gtk/gtkcombobox.h +++ b/gtk/gtkcombobox.h @@ -54,13 +54,14 @@ struct _GtkComboBoxClass GtkBinClass parent_class; /* signals */ - void (* changed) (GtkComboBox *combo_box); + void (* changed) (GtkComboBox *combo_box); + gchar *(* format_entry_text) (GtkComboBox *combo_box, + const gchar *path); /* Padding for future expansion */ void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); void (*_gtk_reserved3) (void); - void (*_gtk_reserved4) (void); }; |