moked has asked for the wisdom of the Perl Monks concerning the following question:
I want to add an option that will close the windowsub compok{ my $Cok = MainWindow->new(title=>"Copy succeeded"); my $Cok1 = $Cok -> Frame; # $widget -> configure(-size=>14,-weoght=>'bold'); # $FFont -> weight(bold); $Cok1->Label(-text=>"\n\nWONDERFULL\n\nGREAT\n\nINCREDIBLE\n\nMAGN +IFICENT\n\nYOUR COMPILATION PASSED\n\nAND I'VE JUST FINISHEAD COPYING + YOUR FILES\nINTO $Dest_Dir!\n\n\n", -font => 14, # -weight => 'bold', -height => '1.5', -background => 'lightblue')->pack(-side=>"top",-fill=>"both",- +anchor=>"w",qw/-ipadx 70 -ipady 120/); $Cok1->Button( -text => 'OK', -background => 'lightgreen', -command =>[$Cok => 'destroy'])->pack(qw/-ipadx 4 -pady 2/); $Cok1 -> pack; MainLoop; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: timed window
by zentara (Cardinal) on Feb 26, 2006 at 12:54 UTC | |
|
Re: timed window
by mickeyn (Priest) on Feb 26, 2006 at 12:05 UTC |