in reply to Re: Perl/TK: enabling a disable menu item
in thread Perl/TK: enabling a disable menu item
After staggering through Mastering Perl/Tk, I come up with this, which seems to work:
--Bob Niederman, http://bob-n.commy $fm = $menubar->entrycget('File', -menu); # *after* creating the File Menubutton in the $menubar sub select_file { $fm->entryconfigure('Edit', -state=>'normal') }
|
|---|