Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion gridRowConfigure does not work with Frame?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
bernd  
View profile  
 More options Mar 20 2012, 8:29 am
Newsgroups: comp.lang.perl.tk
From: bernd <bew...@gmx.net>
Date: Tue, 20 Mar 2012 05:29:32 -0700 (PDT)
Local: Tues, Mar 20 2012 8:29 am
Subject: gridRowConfigure does not work with Frame?
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.