Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

gridRowConfigure does not work with Frame?

33 views
Skip to first unread message

bernd

unread,
Mar 20, 2012, 8:29:32 AM3/20/12
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

Marc Dashevsky

unread,
Mar 20, 2012, 11:51:36 AM3/20/12
to
In article <0f9799f1-f673-4041...@i18g2000vbx.googlegroups.com>, bew...@gmx.net says...
> 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:

The gridRowconfigure() method does not have an uppercase 'C'.

--
Go to http://MarcDashevsky.com to send me e-mail.
0 new messages