summaryrefslogtreecommitdiff
path: root/gtk/gtkcombobox.h
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2003-10-14 20:09:39 +0000
committerJonathan Blandford <jrb@src.gnome.org>2003-10-14 20:09:39 +0000
commit87a1e40eb8f386246d1cbe4a546f95e08b8f4463 (patch)
tree696fdb440b4399aa3dacc6886dfa8caa2eb7452b /gtk/gtkcombobox.h
parente246918d1b011bd669da160a66fe577b36e443d3 (diff)
downloadgtk+-87a1e40eb8f386246d1cbe4a546f95e08b8f4463.tar.gz
New function to set the active row by iter.
Tue Oct 14 16:10:21 2003 Jonathan Blandford <jrb@redhat.com> * gtk/gtkcombobox.c (gtk_combo_box_set_active_iter): New function to set the active row by iter. * gtk/gtkcombobox.c (gtk_combo_box_get_active_iter): New function to get the active row by iter.
Diffstat (limited to 'gtk/gtkcombobox.h')
-rw-r--r--gtk/gtkcombobox.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkcombobox.h b/gtk/gtkcombobox.h
index bb9e0aa7c3..4a188a64af 100644
--- a/gtk/gtkcombobox.h
+++ b/gtk/gtkcombobox.h
@@ -70,6 +70,10 @@ void gtk_combo_box_set_column_span_column (GtkComboBox *combo_box,
gint gtk_combo_box_get_active (GtkComboBox *combo_box);
void gtk_combo_box_set_active (GtkComboBox *combo_box,
gint index);
+gboolean gtk_combo_box_get_active_iter (GtkComboBox *combo_box,
+ GtkTreeIter *iter);
+void gtk_combo_box_set_active_iter (GtkComboBox *combo_box,
+ GtkTreeIter *iter);
/* getters and setters */
GtkTreeModel *gtk_combo_box_get_model (GtkComboBox *combo_box);