[pygtk] Adding columns to a TreeView/TreeStore?
John Pye
john.pye at student.unsw.edu.au
Wed Feb 1 00:26:11 WST 2006
Hi,
Is it possible to dynamically add new columns to a TreeView?
I found this:
http://www.daa.com.au/pipermail/pygtk/2003-December/006636.html
The issue appears to be that there is no way of adding columns to a
*TreeStore* -- so I must copy the data from the existing TreeStore to a
new one with an extra column, then re-set the model for the TreeView to
the new TreeStore.
Is there a better way? I imagine this could be slow in some cases where
there is a lot of data.
Cheers
JP
More information about the pygtk
mailing list