re[pygtk] trieve data store in a gtk.ListStore
awalter1
alain.walter at thalesgroup.com
Fri Nov 30 23:24:20 WST 2007
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.
More information about the pygtk
mailing list