Re: Reading from a GtkComboBox created with ..._new_text()

2004-04-04 Thread Jan-Marek Glogowski
Hi Internally the GtkComboBox created with gtk_combo_box_new_text() uses a GtkListStore as it's "TreeModel". Just call gtk_combo_box_get_model() to get it. > I would like to loop around all items in the combo. model = gtk_combo_box_get_model( combo ); if( ! gtk_tree_model_get_iter_first( model,

Reading from a GtkComboBox created with ..._new_text()

2004-04-04 Thread Daniel Drake
Hi, I have created a combo box with gtk_combo_box_new_text() I can insert/prepend/append items to this using the convenience functions. How can I read the text of the items from the combobox? I don't mean the current item - I would like to loop around all items in the combo. Or do I need to ste