GtkComboBox: Add the format-entry-text signal.

This provides more control over how the selected item is shown in
the entry.
Bug #631167
This commit is contained in:
Tristan Van Berkom
2011-10-06 11:14:38 +02:00
committed by Murray Cumming
parent f920ded541
commit 2677a7d5b9
6 changed files with 123 additions and 28 deletions

View File

@ -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);
};