• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 375
  • 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

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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