summaryrefslogtreecommitdiff
path: root/gtk/gtkcomboboxtext.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-10-22 23:33:30 +0200
committerMatthias Clasen <mclasen@redhat.com>2010-10-23 02:31:30 +0200
commit9fb36fff367480f372745cc0f989e35602fc46b8 (patch)
treec50b3923d7ddb383b58e38a43d279a6ba3dc8044 /gtk/gtkcomboboxtext.h
parent38dbb84095dee0fa9f4688e15ebd33591a9a6548 (diff)
downloadgtk+-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/gtkcomboboxtext.h')
-rw-r--r--gtk/gtkcomboboxtext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkcomboboxtext.h b/gtk/gtkcomboboxtext.h
index 50ebcb501c..7322e45134 100644
--- a/gtk/gtkcomboboxtext.h
+++ b/gtk/gtkcomboboxtext.h
@@ -72,6 +72,10 @@ void gtk_combo_box_text_remove (GtkComboBoxText *combo_box
void gtk_combo_box_text_remove_all (GtkComboBoxText *combo_box);
gchar *gtk_combo_box_text_get_active_text (GtkComboBoxText *combo_box);
+void gtk_combo_box_text_insert_text_with_id (GtkComboBoxText *combo_box,
+ gint position,
+ const gchar *text,
+ gint id);
G_END_DECLS