Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/local/bin/perl -w use strict; use Tk; require Tk::Pane; require Tk::BrowseEntry; require Tk::DialogBox; use warnings; use strict; use Tk; my $MW = MainWindow->new( -title => 'GUI Demo', -name => 'Demo', ); $MW->resizable(0,0); # not resizable in any direction foreach my $txt (<DATA>) { chomp($txt); my $b = $MW->Button( -text => $txt, -width => 30, -height => 3, -command => sub {manipulate_link($txt)}, ); $b->pack(qw/-side top -expand yes -pady 3/); } MainLoop; __DATA__ Compile all Compile selected blocks Get selected blocks Put selected blocks Browse & Compare Exit __END__
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Non resizable window
by kcott (Archbishop) on Jul 15, 2013 at 14:52 UTC | |
by Anonymous Monk on Jul 16, 2013 at 06:03 UTC | |
by kcott (Archbishop) on Jul 16, 2013 at 07:54 UTC | |
|
Re: Non resizable window
by marto (Cardinal) on Jul 15, 2013 at 14:30 UTC |