Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Perl/TK: enabling a disable menu item

by busunsl (Vicar)
on Jul 30, 2003 at 06:29 UTC ( #279087=note: print w/replies, xml ) Need Help??


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]);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://279087]
help
Chatterbox?
[karlgoethebier]: Discipulus: see also Re: poll ideas quest 2017

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2017-06-26 09:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (575 votes). Check out past polls.