Thank you -- knowing how to identify the caller like that is likely to simplify many things.sub my_optionmenu_callback { return unless ( $Tk::widget =~ /^Tk::Menu/ ); # do stuff... }
In reply to Re^2: Setting options in Tk::Optionmenu without the callback?
by graff
in thread Setting options in Tk::Optionmenu without the callback?
by graff
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |