[Tkinter-discuss] Communicating between objects w/o class and/or global?

GKalman kalman_g at msn.com
Mon Jun 22 21:00:15 CEST 2009


Recently I posted, on this Forum, a msg titled:  "Tkinter mouse-event w/o
class and/or global?" It was successfuly  [RESOLVED] . 

ow I have related Question:

I have two (c1 & c2) Canvas instances. If I mouse-click on one of the
canvases (or more likely on a drawn item on the canvas, e.g. on a
rectangle), I would like to change the background color of the other canvas. 

Can I do it without classes (OOP) and/or global-variables?

-- 
View this message in context: http://www.nabble.com/Communicating-between-objects-w-o-class-and-or-global--tp24153330p24153330.html
Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.



More information about the Tkinter-discuss mailing list