Have you checked John Zelle's book and site? He has a wrapper for Tkinter that significantly simplifies Python programming for Tk, plus it has some nifty features.
Zelle's is the best CS0 book I'm aware of at this point: http://mcsp.wartburg.edu/zelle/python/ Kirby On 2/6/07, Peter Drake <[EMAIL PROTECTED]> 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? Peter Drake Assistant Professor of Computer Science Lewis & Clark College http://www.lclark.edu/~drake/ _______________________________________________ Edu-sig mailing list [email protected] http://mail.python.org/mailman/listinfo/edu-sig
_______________________________________________ Edu-sig mailing list [email protected] http://mail.python.org/mailman/listinfo/edu-sig
