summaryrefslogtreecommitdiff
path: root/gtk/gtkcomboboxentry.h
diff options
context:
space:
mode:
authorKristian Rietveld <kris@gtk.org>2003-11-16 23:20:15 +0000
committerKristian Rietveld <kristian@src.gnome.org>2003-11-16 23:20:15 +0000
commitd777b5b46a2baea0293cb7c474de5728cc0084c7 (patch)
tree4a031deb54de143a8e675afd76b0239a3d9097be /gtk/gtkcomboboxentry.h
parent01d2e36671826c4aebda689c8c8e4de795be98d9 (diff)
downloadgtk+-d777b5b46a2baea0293cb7c474de5728cc0084c7.tar.gz
Fixes #124373, Murray Cumming.
Mon Nov 17 00:11:21 2003 Kristian Rietveld <kris@gtk.org> Fixes #124373, Murray Cumming. * gtk/gtkcombobox.[ch] (gtk_combo_box_class_init): the model property is no longer construct only, (gtk_combo_box_unset_model), (gtk_combo_box_set_model_internal), (gtk_combo_box_menu_fill): new functions, (gtk_combo_box_menu_setup), (gtk_combo_box_menu_destroy), (gtk_combo_box_menu_row_*), (gtk_combo_box_list_setup), (gtk_combo_box_list_destroy): updated, (gtk_combo_box_new), (gtk_combo_box_new_with_model): new/changed functions, (gtk_combo_box_set_model): is now public, updated, (gtk_combo_box_get_model): small update. * gtk/gtkcomboboxentry.[ch] (gtk_combo_box_entry_class_init): the text_column property is no longer construct only, (gtk_combo_box_entry_set_text_column): now public, (gtk_combo_box_entry_new), (gtk_combo_box_entry_new_with_model): new/changed functions. * tests/testcombo.c: updated.
Diffstat (limited to 'gtk/gtkcomboboxentry.h')
-rw-r--r--gtk/gtkcomboboxentry.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtkcomboboxentry.h b/gtk/gtkcomboboxentry.h
index f0075d1a26..9b120427a2 100644
--- a/gtk/gtkcomboboxentry.h
+++ b/gtk/gtkcomboboxentry.h
@@ -57,9 +57,12 @@ struct _GtkComboBoxEntryClass
GType gtk_combo_box_entry_get_type (void);
-GtkWidget *gtk_combo_box_entry_new (GtkTreeModel *model,
+GtkWidget *gtk_combo_box_entry_new (void);
+GtkWidget *gtk_combo_box_entry_new_with_model (GtkTreeModel *model,
gint text_column);
+void gtk_combo_box_entry_set_text_column (GtkComboBoxEntry *entry_box,
+ gint text_column);
gint gtk_combo_box_entry_get_text_column (GtkComboBoxEntry *entry_box);