[Tkinter-discuss] Tkinter mouse-event w/o class and/or global?
kalman_g at msn.com
Mon Jun 22 13:51:20 CEST 2009
As an example:
I want to click on a Canvas and with that change its background color.
The "usual" way is to declare a class (i.e a namespace).
An other way is declare c=Canvas(...) as global.
Is it possible to do this without a class (OOP) or global variables?
View this message in context: http://www.nabble.com/Tkinter-mouse-event-w-o-class-and-or-global--tp24145910p24145910.html
Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.
More information about the Tkinter-discuss