• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 379
  • Last Modified:

mouse event!

How to write a simple mouseevent for Tkinter gui, just a mouse click on a canvas object(rectangle) ... ????
0
ispu7
Asked:
ispu7
  • 2
1 Solution
 
ramromconsultant Commented:
When I look in the Tkinter Module I find:

"16.1.6.7 Bindings and Events
The bind method from the widget command allows you to watch for certain events and to have a callback function trigger when that event type occurs...."

Check this out and get back to us.
0
 
ramromconsultant Commented:
ispu7 - does that do it for you?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now