4
my $mw = MainWindow->new;
6
$menu->cascade(-label => "Added",-underline => 0, -menuitems => [
7
[Button => 'Exit', -underline => 1, -command => [destroy => $mw]],
9
$mw->Button(-text => "Press this button to Quit\nthe Appliation",
10
-command => [destroy => $mw])->pack;