Bob Ippolito <[EMAIL PROTECTED]> wrote: > What you need to do here is: > (a) implement a __del__ that removes it as an observer or otherwise > ensure that the Controller object is never an observer after it's dead > (i.e. by making sure it never dies, or removing it manually before it > goes away). > (b) make sure it's alive for the duration that you want it to receive > notifications, by storing away a reference to it somewhere.. if you are > just testing and you want it to never go away, do self.retain()
Thanks a lot, that solved all my problems and I know a significant bit more about PyObjC now ;-) thanks, Florian _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig