|
From: Arjen M. <Arj...@de...> - 2018-06-29 07:21:34
|
Hi everyone, Interesting and obviously there is more to the mouse wheel events than I thought at first. I will have to update the TIP (and the implementation so far) to at least make room for horizontal mouse wheel events. I am not sure I can provide a proper implementation for them, though some coherent picture is beginning to form ... Regards, Arjen > -----Original Message----- > From: Harald Oehlmann [mailto:har...@el...] > Sent: Friday, June 29, 2018 8:39 AM > To: tcl...@li... > Subject: Re: [TCLCORE] TIP 474: "Treat the mouse wheel events in a uniform > way" again > > Am 29.06.2018 um 08:17 schrieb Brad Lanam: > > Does someone have a touchpad on windows with horizontal scrolling enabled? > > And can test in Tk whether the horizontal scroll creates a > > <MouseWheel> event? > > And also test whether the horizontal scroll works when there is a > > horizontal scrollbar active. > > > > I have a touchpad on the laptop with Linux, but the horizontal scroll > > does not work in a Windows VM. > > This may very well be due to the VirtualBox mouse device driver. > > > > The tilt-wheel on the Logitech G500 mouse did not create a > > <MouseWheel> event. > > I will test the tilt-wheel further on Windows tomorrow and see if Tk > > handles it at all. > > I have a touchpad and it works in Notepad wether in x or y. > - if I move with two fingers to left-right -> x-scroll > - If I move with two fingers up-down -> y-scroll > - If I try an angle, it chooses x or y. I have to release the fingers to change direction. > > Tk: > pack [text .e] -fill both -expand true > bind .e <MouseWheel> "puts MW%D" > bind .e <Button-4> "puts B4" > bind .e <Button-5> "puts B5" > > Mouspad Gesture up/down: MW120 / MW-120 > Mousepad gesture left/right: no reaction > > I have to Spy out the messages, which are sent by the Operating System. > > Thank you, > Harald > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most engaging tech > sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Tcl-Core mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-core DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. |