Hope this simple example helps you:
use Tk; use strict; use warnings; my $mw = MainWindow->new; my $button = $mw->Button()->pack(); $button->configure( -text => 'delete me', -command => sub {$button->destroy();} ); MainLoop;
In reply to Re: Can't Erase Previous Menu Button
by PeterPeiGuo
in thread Can't Erase Previous Menu Button
by socrtwo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |