Python Forum
Tkinter touch screen button click
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tkinter touch screen button click
#1
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
Reply
#2
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.
Reply
#3
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.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  tkinter Radio button group not setting default selection simonc88 3 955 Mar-20-2025, 06:53 PM
Last Post: buran
  Using place for a button, many examples but AttributeError, tkinter Edward_ 3 987 Dec-17-2024, 09:06 PM
Last Post: deanhystad
  Update Image on Button Click the_muffin_man 2 1,237 Nov-05-2024, 01:29 AM
Last Post: menator01
  [Tkinter] TKinter Remove Button Frame Nu2Python 8 4,729 Jan-16-2024, 06:44 PM
Last Post: rob101
  tkinter - touchscreen, push the button like click the mouse John64 5 2,506 Jan-06-2024, 03:45 PM
Last Post: deanhystad
  Centering and adding a push button to a grid window, TKinter Edward_ 15 14,376 May-25-2023, 07:37 PM
Last Post: deanhystad
  Figure Gets Larger Every time I click a show button joshuagreineder 2 2,125 Aug-11-2022, 06:25 AM
Last Post: chinky
  Can't get tkinter button to change color based on changes in data dford 4 4,848 Feb-13-2022, 01:57 PM
Last Post: dford
  Creating a function interrupt button tkinter AnotherSam 2 8,232 Oct-07-2021, 02:56 PM
Last Post: AnotherSam
  [Tkinter] Have tkinter button toggle on and off a continuously running function AnotherSam 5 7,543 Oct-01-2021, 05:00 PM
Last Post: Yoriz

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020