[Tutor] Tkinter Canvas Widget

Johnston Jiaa oclbdk at gmail.com
Tue Nov 13 04:39:05 CET 2007


I'm trying to create a free-hand drawing area on my program using the  
Tkinter canvas widget.  I have read through all the methods on Canvas  
objects <http://infohost.nmt.edu/tcc/help/pubs/tkinter/canvas- 
methods.html>, but do not see how to get the coordinates of the mouse  
on the canvas.

Also, after I get those coordinates, which methods would be  
appropriate to draw the points onto the canvas itself?

I appreciate any pointers or links to resources or anything at all.

Johnston Jiaa


More information about the Tutor mailing list