no matter where i use:

$menu->entryconfigure(#,"disabled);

i get:

Can't locate object method "entryconfigure" via package "Tk::Menu::Cascade"

unless i use it on a non-existent $menu, in which case i get:

Can't call method "entryconfigure" on an undefined value

Also, if i add a -command in a cascade(), i get no warnings or complaints but perl ignores the command and simply opens the menu. I would like to call a command when a submenu is opened to determine which entries are available; surely this is possible?

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to