bernd
unread,Mar 20, 2012, 8:29:32 AM3/20/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hello Folks,
when I try to adjust the space assigned to subwidgets within a frame
with gridRowConfigure using the following prog I get the error message
presented below:
#!/usr/bin/perl
use Tk;
my $mw = MainWindow->new();
my $fr = $mw->Frame()->pack();
my $btn_1 = $fr->Button();
my $btn_2 = $fr->Button();
my $btn_3 = $fr->Button();
$btn_1->grid();
$btn_2->grid();
$btn_3->grid();
$fr->gridRowConfigure( 0, -weight => 2 );
$fr->gridRowConfigure( 1, -weight => 1 );
$fr->gridRowConfigure( 2, -weight => 1 );
MainLoop;
Failed to AUTOLOAD 'Tk::Frame::gridRowConfigure' at [...] line 17
Any ideas what's wrong?
Cheers
Bernd