diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-10-22 23:33:30 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-10-23 02:31:30 +0200 |
commit | 9fb36fff367480f372745cc0f989e35602fc46b8 (patch) | |
tree | c50b3923d7ddb383b58e38a43d279a6ba3dc8044 /gtk/gtkcombobox.h | |
parent | 38dbb84095dee0fa9f4688e15ebd33591a9a6548 (diff) | |
download | gtk+-9fb36fff367480f372745cc0f989e35602fc46b8.tar.gz |
Add a way to associate numeric ids with combobox values
This will let us use combo boxes as property editors for
GSettings enmerations easily.
Diffstat (limited to 'gtk/gtkcombobox.h')
-rw-r--r-- | gtk/gtkcombobox.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkcombobox.h b/gtk/gtkcombobox.h index c5b6a3c1e0..ac256a7746 100644 --- a/gtk/gtkcombobox.h +++ b/gtk/gtkcombobox.h @@ -133,6 +133,9 @@ void gtk_combo_box_popup_for_device (GtkComboBox *combo_box, void gtk_combo_box_popdown (GtkComboBox *combo_box); AtkObject* gtk_combo_box_get_popup_accessible (GtkComboBox *combo_box); +gint gtk_combo_box_get_id_column (GtkComboBox *combo_box); +void gtk_combo_box_set_id_column (GtkComboBox *combo_box, + gint id_column); G_END_DECLS |