Amazingly, what worked in the end was simply adding

-state=> 'disabled'

into the actual $menu->command, hence avoiding the documented "entryconfigure" method or cget altogether

but if anyone has any patience left could you explain:

my $state = ($count++ & 1) ? 'normal' : 'disabled';

to me, specifically the "& 1) ? 'x' : 'y'" segment?

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


Reply via email to