Just another Perl shrine | |
PerlMonks |
Re: Perl-Tk MouseWheel support for Scaleby thundergnat (Deacon) |
on Mar 06, 2015 at 22:01 UTC ( [id://1119123]=note: print w/replies, xml ) | Need Help?? |
Your widget won't respond to bound events if it doesn't have the focus. Try putting a $scale->focus; somewhere before the MainLoop; This may or may not be of help to you. It assumes that there aren't any other widgets which may grab focus in your application. You may need to bind in some event to set the focus on the $scale when you want it to respond to mouse events. YMMV.
In Section
Seekers of Perl Wisdom
|
|