Re: retrieve all entries from a GtkComboBox?
- From: Jan-Marek Glogowski <glogow fbihome de>
- To: Franz Parzefall <f parzefall multitest com>
- Cc: gtk-list gnome org
- Subject: Re: retrieve all entries from a GtkComboBox?
- Date: Tue, 17 Aug 2004 17:12:41 +0200 (CEST)
> > You should be able to get the model (gtk_combo_box_get_model())
> > and iterate over that (gtk_tree_model_foreach())
>
> Yes, but how does that give access to the lines of text that where
> previously appended/inserted/etc. to the model?
gchar* cell_string;
gtk_tree_model_get (model, iter, 0, &cell_string, -1)
g_free( cell_string );
Jan-Marek
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]