Re: retrieve all entries from a GtkComboBox?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > 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
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux