[pygtk] gtk.ListStore columns in a gtk.ComboBox (added full code
listing)
Isaac Alston
genelisp at googlemail.com
Mon Jun 23 05:05:22 WST 2008
2008/6/22 Bertrand Son Kintanar <b3rxkintanar at gmail.com>:
> [...snip - code sample]
> notice the if statement highlighted. this will show the column if we set the
> flag to visible otherwise it will not show the column
Yes, I think this might work, although I am dubious about:
self.inputTreeView.append_column(column) because I don't think
ComboBox has that method. However, this seems to be a lot of work... I
was under the impression that gtk.ListStore was the model in a sort of
mvc system in which the view is independent from the model which
should easily allow different views. In this instance, it doesn't
appear to be the case, which is annoying. I will sleep on this :-) .
Thanks for your efforts,
--
Isaac
More information about the pygtk
mailing list