[pygtk] treeview column width depending on window size

Fabian Braennstroem f.braennstroem at gmx.de
Fri Mar 16 02:55:35 WST 2007


Hi,

for a small filemanager I would like to set the width of the columns
according to the window size. I have five columns, displaying an
icon, the filename, size, mode and date. I want to set a fixed size
for the icon and the last three columns; these columns should be
visible in the set size at the right end of the treeview (obviously
the icon a the left side); just like the midnight commander is doing
it. The sizing should adjust as soon as I enlarge the window.

Does anybody have an idea?

Greetings!
Fabian



More information about the pygtk mailing list