in reply to Perl/TK: enabling a disable menu item
It gives me the error that entrycget.pm cannot be found in @INC.(Can't locate Tk/Frame/entrycget.pm)my $fm = $menubar->entrycget('File', -menu); sub select_file { $fm->entryconfigure('Edit', - state=>'normal') }
|
|---|