I'm using a simple gtk.ListStore to store values for a combo box in my python/glade application
However, I'm shocked to see that there's no way to "retrieve" the contents of the ListStore programmatically. I've combed the documentation for ways to retrieve this data, but there is none. Even searching the web has left me clueless (there is a similar thread on a mailing list archive without any replies).
The reason I need to "retrieve" the combo box items is because I am allowing the user to add and remove items dynamically (i.e. the data is not fixed). So in the end, I need to get the list of items stored in the gtk.ListStore (which holds the data for the combo-box).
Why did I chose GTK?
Maybe I'll switch to pyqt. That might make it easier.
Or have I missed something too obvious? I even tried holding a separate list variable to hold the contents of the list and coordinate it with the ListStore, but unfortunate, when an item is removed from the combo box, I have no way to find out the text of the item removed, because I get only a gtk.TreeIter object.