in reply to Re^3: resizing problem with Tk appl using PackForget
in thread resizing problem with Tk appl using PackForget
I like the packArgs trick. Also easy to add an arg to the sub for selecting one of the options.
the canvas within this BANG app resizes fine for each of the chosen packArgs.
But pls try this:
* split the PackForget() and pack() over 2 buttons (show, hide) one containing the packForget, the other the pack
* start the app, and resize the main window
* then hit 'hide'
The canvas and mainwindow are not resized.
I seem to be missing the point about the resizing through a call to geometry. Can't find a hint in the docs either.
the canvas within this BANG app resizes fine for each of the chosen packArgs.
But pls try this:
* split the PackForget() and pack() over 2 buttons (show, hide) one containing the packForget, the other the pack
* start the app, and resize the main window
* then hit 'hide'
The canvas and mainwindow are not resized.
I seem to be missing the point about the resizing through a call to geometry. Can't find a hint in the docs either.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: resizing problem with Tk appl using PackForget
by Anonymous Monk on Dec 07, 2011 at 10:06 UTC | |
Re^5: resizing problem with Tk appl using PackForget
by Anonymous Monk on Dec 07, 2011 at 11:33 UTC | |
by monger_39 (Initiate) on Dec 07, 2011 at 12:54 UTC | |
by zentara (Archbishop) on Dec 07, 2011 at 18:25 UTC | |
by monger_39 (Initiate) on Dec 08, 2011 at 08:49 UTC | |
by zentara (Archbishop) on Dec 08, 2011 at 12:18 UTC |
In Section
Seekers of Perl Wisdom