I have a Python program that uses Tkinter to display a scrollable window. Is there any way to connect the two-finger swipe gesture on the touchpad to scrolling in this window?
Asked
Active
Viewed 409 times
1
-
If it's relevant, I am running Ubuntu with XFCE. – Travis Sep 14 '20 at 04:46
-
Do you have any try or source code that can share with us? – Peyman Majidi Sep 14 '20 at 08:06
-
I suspect this is more up to the OS than tkinter. You likely need to configure Ubuntu to emit the scroll up/down action when a two finger gesture is used. Probably off-topic for this site. – scotty3785 Sep 15 '20 at 08:14
-
Does this answer your question? [Tkinter - Scroll with mousepad / mouse gestures / two fingers scrolling in tkinter?](https://stackoverflow.com/questions/75276563/tkinter-scroll-with-mousepad-mouse-gestures-two-fingers-scrolling-in-tkint) – Nordine Lotfi Jan 29 '23 at 17:40