in reply to Setting options in Tk::Optionmenu without the callback?
sub show_choice{ my $caller = $Tk::widget; print 'caller-> ',$caller,"\n"; if( $caller =~ /^Tk::Menu.*/){ print "got: ", shift, "\n" }else{ return } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Setting options in Tk::Optionmenu without the callback?
by graff (Chancellor) on Aug 23, 2007 at 15:46 UTC |