blackadder has asked for the wisdom of the Perl Monks concerning the following question:
my $toplevel = $tk{mw}-> Toplevel; my $top_frame = $toplevel-> Frame; my $folder_level; my $subfolder_level; my $frame_label = $top_frame-> Label(-text=> 'Please select the AC +E permission type'); my @pl = qw/-side top -pady 2 -anchor w/; $top_frame-> pack (@pl); foreach my $p ('No Access', 'List', 'Read', 'Add' ,'Add & Read', ' +Change','Full Controll','Special Directory Accesss','Special File Acc +ess') { $top_frame->Radiobutton( -text => "ACE : $p", -variable => \ + $folder_level, -relief => ' +flat', -value => $ +p, )->pack(@pl); + } my $ok_buttn = $top_frame-> Button(-text=>'OK', -borderwid +t=>5, -width=>10 +, -command=> + sub{print "\n$folder_level\n"; + $top_frame->distroy; } )-> pack;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to get rid of a TopLevel window
by BlueBlazerRegular (Friar) on Sep 11, 2002 at 14:42 UTC | |
|
Re: How to get rid of a TopLevel window
by fglock (Vicar) on Sep 11, 2002 at 14:33 UTC | |
by blackadder (Hermit) on Sep 11, 2002 at 15:06 UTC | |
|
Re: How to get rid of a TopLevel window
by Mr. Muskrat (Canon) on Sep 11, 2002 at 14:45 UTC | |
by BlueBlazerRegular (Friar) on Sep 11, 2002 at 16:25 UTC |