in reply to Perl-Tk MouseWheel support for Scale
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Perl-Tk MouseWheel support for Scale
by perltux (Monk) on Mar 06, 2015 at 23:29 UTC | |
by Anonymous Monk on Mar 06, 2015 at 23:56 UTC | |
by perltux (Monk) on Mar 07, 2015 at 00:33 UTC | |
by Anonymous Monk on Mar 07, 2015 at 00:44 UTC |