On Wed, Jun 01, 2005 at 08:54:52AM +0000, Adrian Immler wrote: > how can i create a gtk.TreeStore with a variable count of the columns ? > how can i add/remove columns from a TreeStore ?
I don't think it's possible to add/remove columns from an existing store. Instead I would suggest using objects (which could just be dictionaries) in your TreeStore together with a TreeView data func. This gives you lots of flexibility. Alternatively, you could get a TreeModelFilter from your model. See the tutorial for more info. Dave Cook _______________________________________________ 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/