Hi,

I have some difficulties to manipulate ListStore. I define a liststore and
associated it to a combobox:    

liststore = gtk.ListStore(str)
fieldCombo = gtk.ComboBox(liststore)
liststore.append(['Field'])
for field in l_fields:
   liststore.append([field])
fieldCombo.connect('changed', self.ComboActivate, liststore)

def ComboActivate(self, combo, liststore):
   ...

>From ComboActivate how to retrieve the list of data liststore contains ?
Is it possible to get these data directly from combo (that avoid the
liststore parameter) ?

Thank you




-- 
View this message in context: 
http://www.nabble.com/retrieve-data-store-in-a-gtk.ListStore-tf4912828.html#a14064283
Sent from the Gtk+ - Python mailing list archive at Nabble.com.

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to