Hi Peter, Just a quick question for you. I am wondering if you have checked out the simple graphics package that I built on top of Tkinter for doing these sorts of simple manipulations. It's also name graphics.py. If you haven't seen it, you can check it out at: http://mcsp.wartburg.edu/zelle/python. It's probably that case that it doesn't meet your needs, but if it does it would keep you from aving to "reinvent the wheel."
--John On Tuesday 06 February 2007 1:03 pm, Peter Drake wrote: > Okay, so I've got a simple system worked up that allows students > (these are "CS0" non-CS-majors) to manipulate objects with commands > in the IDLE command window. The file is attached. > > The next thing I'd like to do is define a function mouse() that > starts the main loop, waits for a mouse click, stops the main loop, > and returns the coordinates of the mouse click. Any suggestions? -- John M. Zelle, Ph.D. Wartburg College Professor of Computer Science Waverly, IA [EMAIL PROTECTED] (319) 352-8360 _______________________________________________ Edu-sig mailing list [email protected] http://mail.python.org/mailman/listinfo/edu-sig
