in reply to Tk problem
Your problem is mixing the geometry managers Tk::grid and Tk::pack in the one frame (in this case, the special frame Tk::MainWindow).
If you want to mix them, put the first five widgets in their own Tk::Frame.
I changed the lone pack() to grid() and your reported problem was resolved, i.e. a window now appears.
my $output = $mw -> Text(-width=>500, -height=> 240) -> grid();
I didn't check any functionality beyond this.
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tk problem
by Anonymous Monk on Sep 01, 2011 at 14:25 UTC |