Jouke has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w use strict; use Tk; my $main = MainWindow->new(-background => "white"); $main->title("test program"); my $mainframe = $main->Frame(-background => "white")->pack(); my $label=$main->Label(-text => "test text", -background => "white")-> +pack; print $label->height(); MainLoop()
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Height of a label widget in Tk
by busunsl (Vicar) on May 25, 2001 at 13:45 UTC | |
by Jouke (Curate) on May 25, 2001 at 20:32 UTC | |
|
Re: Height of a label widget in Tk
by TheoPetersen (Priest) on May 25, 2001 at 17:04 UTC |