> sticky mainly refers to which sides the widgets should "stick" to when
> resized. so if i have a listview which is -sticky => 'ew' 
> then when it gets
> resized it should stretch to fit across the screen (as in 
> east and west,
> left and right) but the vertical size would stay relative to 
> how much the
> window was resized. i hope thats a good enough explanation.
I know Tk and when I did my first 'real' Win32-GUI project, I made a fairly
sophisticated module to accomplish this. It's WinSize.pm on
http://www.fairymails.com/perl/. It also takes care of putting the last size
and position into the registry for re-use the next time the same program
starts up. I hate it when I have to squeeze and strain a window each time
around.

I didn't get it to work with 665 yet, there's an issue with the main window
not reacting to dragging it's edges. I don't know if that's my fault, I have
no time right now to look at it.

Note, this is by far not an equivalent to the Tk pack manager. You still
have to design your initial window pixel by pixel - but there's a cool thing
out there Johan made:
http://www.bahnhof.se/~johanl/perl/Loft/

Reply via email to