Perl/Tk resizing windows etc
Posted on 2004-11-01
I have just started trying to learn perl/tk
I have the following code ...
my $main = MainWindow->new();
my $lr_frame = $main->Frame(-background=>'cyan')->pack(-side=>'top',-fill=>'both');
my $left_box = $lr_frame->Scrolled('Text',
my $right_box = $lr_frame->Scrolled('Text',
)->pack(-side=>'left', -fill=>'both', -expand=>1);
so basically when I run the above I get two textbox .. which does look as if both has 50% of the window share ..
but when I maximize the window it doesnt look like that one textbox is larger than the other ..How can I ensure that both textboxes are of the same size ?
also any pointers/urls to good online perl/Tk tutorials would be appreciated