in reply to Wheel stuck in rut
Hi,
See https://metacpan.org/pod/Tk::bind#D
$ perl -le " use Tk; $mw = tkinit; $mw->bind(q/<MouseWheel>/,sub{print + $Tk::event->D} ); MainLoop; " -120 -120 120 120
Also see "DynaMouseWheel"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Wheel stuck in rut
by ExReg (Priest) on Jan 04, 2017 at 15:10 UTC |