Python Forum
Tkinter touch screen button click - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: Tkinter touch screen button click (/thread-9502.html)



Tkinter touch screen button click - ashtona - Apr-12-2018

Hello, I'm working on a tkinter application that will be used on tablets. I am trying to find a way to get the buttons to react to a touchscreen push the same way as a mouse click so the user knows that he has clicked that button.

Is this possible?

Thanks


RE: Tkinter touch screen button click - nilamo - Apr-12-2018

Does it not work?

From my experience, a touchscreen tap is a click. They're not different events, unless you choose to handle them differently.


RE: Tkinter touch screen button click - buran - Apr-13-2018

you may want to check Kivy instead
It is an open source Python library for developing mobile apps and other multitouch application software with a natural user interface (NUI). It can run on Android, iOS, Linux, OS X, and Windows. Distributed under the terms of the MIT license, Kivy is free and open source software.