in reply to Perl/TK: enabling a disable menu item
Since there is no 'edit' button in your source, I assume you want to add it to the menu. To add a menuitem use the AddItems method of the menubutton like this:
$sv_menu->AddItems([command => 'Edit', -command => \&edit]);
|
---|
In Section
Seekers of Perl Wisdom