|
From: Donal K. F. <don...@ma...> - 2018-06-29 18:57:57
|
On 29/06/2018 18:34, Brad Lanam wrote: > MOUSEHWHEEL is the one that needs implementation. If we mapped that also onto <MouseWheel>, but with the detail (%d) field different (it's currently not defined for that event type). That'd allow us to keep %D for the size of the scrolling action, which is something we should definitely retain (since some mouse drivers do funky stuff with scrolling when you click the wheel). We, of course, have complete control over how the detail field is rendered in this case. At a low level in the guts of tkBind.c, we currently pretend that a MouseWheelEvent (itself entirely internal to Tk) is somewhat like a KeyEvent. Except with a bunch of fields missing a lot of the time... Donal. |