PDA

View Full Version : Pygtk - Dynamic column number in gtk.Treestore



javier.der
May 3rd, 2007, 06:59 AM
Hi,

I'm trying to build a gtk.TreeStore but the number of columns in this is dynamic.
Some times it's:
gtk.TreeStore(str, str)
other times:
gtk.TreeStore(str, str,str,str,str)
or any number you can imagine...

I've tried several approaches but none seems to work.


any idea?