Python Forum
Simple Button click on image file to create action?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Button click on image file to create action?
#2
(Mar-26-2019, 10:54 PM)jpezz Wrote: I am looking for a simple example of a python program that would display an image file and then be able to tell if the user clicked on the image with the left mouse button so that an action could be performed.
That is basically any GUI out there. This can be done with Tkinter, WxPython, Pygame, etc.

Why did you choose clutter over others? Also what exactly is clutter? Ive never heard of it.

(Mar-26-2019, 10:54 PM)jpezz Wrote: Now I need some more user interface on a touchscreen
The main python GUI library that can handle touchscreen inputs is Kivy.
Recommended Tutorials:
Reply


Messages In This Thread
RE: Simple Button click on image file to create action? - by metulburr - Mar-26-2019, 11:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  tkinter - touchscreen, push the button like click the mouse John64 5 875 Jan-06-2024, 03:45 PM
Last Post: deanhystad
  Figure Gets Larger Every time I click a show button joshuagreineder 2 1,336 Aug-11-2022, 06:25 AM
Last Post: chinky
  simple tkinter question function call not opening image gr3yali3n 5 3,464 Aug-02-2022, 09:13 PM
Last Post: woooee
  [Tkinter] Why does the image for the button not appear? finndude 4 2,117 Oct-21-2021, 06:41 PM
Last Post: deanhystad
  looking for scripts that do simple image display Skaperen 10 4,290 Sep-13-2021, 05:35 PM
Last Post: FullOfHelp
  [Tkinter] image inside button rwahdan 4 7,123 Jul-12-2021, 08:49 PM
Last Post: deanhystad
  tkinter showing image in button rwahdan 3 5,660 Jun-16-2021, 06:08 AM
Last Post: Yoriz
  [Tkinter] Modify Class on Button Click KDog 4 3,984 May-11-2021, 08:43 PM
Last Post: KDog
  How to create a simple GUI GRS26 7 3,661 Mar-27-2021, 02:38 PM
Last Post: FernandoCabral
  tkinter button image Nick_tkinter 4 4,087 Mar-04-2021, 11:33 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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