Arthur wrote:
... to get my bi-directional communication, all I need to do is
setattr(Display,"control_panel",self) in the __init__ of the Tk ControlPanel
class, so that now Display has a reference to the ControlPanel by which
it can send messages of its events back in that direction.
My first ever use of setattr. Knew it was there for something ;)
Hmmm.... Outside of playing with setattr, why not use:
Display.control_panel = self
--
-- Scott David Daniels
[EMAIL PROTECTED]
_______________________________________________
Edu-sig mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/edu-sig