summaryrefslogtreecommitdiff
path: root/gtk/gtkcombobox.h
diff options
context:
space:
mode:
authorTristan Van Berkom <tristanvb@openismus.com>2011-10-06 11:14:38 +0200
committerMurray Cumming <murrayc@murrayc.com>2011-10-06 11:14:38 +0200
commit2677a7d5b9ec469049f63c4f99b86d95e7dd4f63 (patch)
tree7c251c5e7017163bd7627d5f68e4c229b7291d1c /gtk/gtkcombobox.h
parentf920ded54116f44c9f269d2e509d108a85e943b0 (diff)
downloadgtk+-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.h5
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);
};