holli has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/local/bin/perl -w use Tk; use strict; require Tk::TFrame; require Tk::Adjuster; my ( $mw, $frmLeft, $adjMiddle, $frmRight, ); $mw = MainWindow->new(-title => 'foo'); $frmLeft = $mw->TFrame ( label => [-text => 'links'] )->pack (-expand => 1, -fill => "both", -side => 'left'); $adjMiddle = $mw->Adjuster ( -widget => $frmLeft, -side => 'left', -restore => 1, )->pack (-side => 'left', -fill => 'y'); $frmRight = $mw->TFrame ( label => [-text => 'rechts'] )->pack (-expand => 1, -fill => "both", -side => 'right'); MainLoop;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tk::Adjuster, how to keep proportions
by thundergnat (Deacon) on Feb 06, 2006 at 21:05 UTC | |
by zentara (Cardinal) on Feb 07, 2006 at 12:20 UTC |