summaryrefslogtreecommitdiff
path: root/gtk/gtkcombobox.h
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2010-11-30 00:07:08 -0500
committerRyan Lortie <desrt@desrt.ca>2010-11-30 00:29:16 -0500
commit922324553be10f847d4bdc3a177e641887a2921d (patch)
treec9b18f335d864524e8be87af43738d53f6aac974 /gtk/gtkcombobox.h
parent781d4faf4c6423e6db0f4442bfb3ed4db855e158 (diff)
downloadgtk+-922324553be10f847d4bdc3a177e641887a2921d.tar.gz
Bug 619148 - "active ID" properties (GtkComboBox)
Based on a patch by Matthias, add an "active-id" property for GtkComboBox and add some convenience API for GtkComboBoxText. Also, add a test case to gtk-demo.
Diffstat (limited to 'gtk/gtkcombobox.h')
-rw-r--r--gtk/gtkcombobox.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkcombobox.h b/gtk/gtkcombobox.h
index c8931eb3b3..1c674b9c06 100644
--- a/gtk/gtkcombobox.h
+++ b/gtk/gtkcombobox.h
@@ -134,6 +134,12 @@ 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);
+const gchar * gtk_combo_box_get_active_id (GtkComboBox *combo_box);
+void gtk_combo_box_set_active_id (GtkComboBox *combo_box,
+ const gchar *active_id);
G_END_DECLS