in reply to Re: Setting options in Tk::Optionmenu without the callback?
in thread Setting options in Tk::Optionmenu without the callback?
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... }
|
|---|