[pygtk] Retrieve remaining column widths directly after removing column from treeview

Calum Lind calumlind at gmail.com
Wed Jul 6 21:33:02 WST 2011


I have an issue where shutting down the application a remove_column method
is called just before saving the column state to a file which results in the
width data for all the columns being zero. Disabling the treeview
remove_column method the column width data is stored properly.

How do this width data get generated and is there any way to force this
update?

I have attached a code example.

Thanks

Calum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20110706/2be5a0dc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: treeviewcolumn.py
Type: text/x-python
Size: 1665 bytes
Desc: not available
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20110706/2be5a0dc/attachment.py>


More information about the pygtk mailing list