Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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]);


Comment on Re: Perl/TK: enabling a disable menu item
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://279087]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2015-07-30 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls