Home | Trees | Indices | Help |
|
---|
|
object --+ | DispatcherSwitch
Provides a single interface to multiple event dispatchers. Events are switched to the the first event dispatcher in a list of dispatchers that supports the event, the other dispatchers are ignored for that particular event. This is also how remove_handlers will look for handlers, it will only remove the handlers of each event's first found dispatcher; the other ones are 'hidden' by this one, for this event. Check `Dispatcher` for the documentation of the methods that are left undocumented here. Instance methods: - `append_dispatchers`: Add dispatchers to the list of dispatchers - ...
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
|
|
|||
_delegator_factory = <pytilities.delegation.delegatorfactory.D
|
|
|||
events | |||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Add dispatchers to the end of the list of dispatchers. Parameters: dispatchers :: (Dispatcher...) sequence of dispatchers to append |
Get the dispatcher for the given event according to our switching rules |
|
|
|
|
|
Construct a delegator with a stored `Profile`. Parameters: `profile_name` :: string name of the `Profile` to use to set up the delegator with `target` = None target of the newly created delegator Returns newly created delegator :: Delegator Raises: - `ValueError` when no profile with name `profile_name` exists |
Add a new delegator factory `Profile` to the factory. Parameters: `name` :: string name of the profile `profile` :: Profile the profile to add |
|
_delegator_factory
|
|
events
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0 on Mon Jul 19 11:49:29 2010 | http://epydoc.sourceforge.net |