[pygtk] gtk.ListStore columns in a gtk.ComboBox (added full code
listing)
Isaac Alston
genelisp at googlemail.com
Mon Jun 23 05:03:59 WST 2008
2008/6/22 Alessandro Dentella <sandro at e-den.it>:
> listore = gtk.ListStore(int, str)
> renderer = gtk.CellRendererText()
> completion.pack_start(renderer)
> completion.add_attribute(renderer, 'text', 1)
> completion.set_model(listore)
I've already tried this and I end up with every column in the
liststore being displayed in the ComboBox - maybe you missed my
earlier code posting - http://dpaste.com/hold/58199/ , the glade file:
http://dpaste.com/hold/58200/ , and a screenshot: http://tinyurl.com/3sbu4w .
--
Isaac
More information about the pygtk
mailing list