[Tutor] Button 1 Motion Event

Johnston Jiaa oclbdk at gmail.com
Wed Dec 5 01:30:11 CET 2007


I'm creating a drawing program, like MS Paint in Tkinter.  I bound  
the <B1-Motion> event to my Canvas object.  The function it's bound  
to creates an oval at the event's x and y attributes.

This works fine if the user is dragging slowly, but if he does a  
sudden dragging motion, the ovals are very far apart.  Is there any  
way to fix this?

Johnston Jiaa


More information about the Tutor mailing list