t.p.d.EventDispatcher : class documentation

Part of twisted.python.dispatch View Source View In Hierarchy

A global event dispatcher for events. I'm used for any events that need to span disparate objects in the client.

I should only be used when one object needs to signal an object that it's not got a direct reference to (unless you really want to pass it through here, in which case I won't mind).

I'm mainly useful for complex GUIs.
Method __init__ Undocumented
Method registerHandler Undocumented
Method autoRegister Undocumented
Method publishEvent Undocumented
def __init__(self, prefix='event_'): (source)
def registerHandler(self, name, meth): (source)
def autoRegister(self, obj): (source)
def publishEvent(self, name, *args, **kwargs): (source)
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.