2.1.8.1. pyfx.view.view_mediator.ViewMediator¶
- class ViewMediator¶
A centralized mediator to handle signal.
This mediator is different from urwid.signals that it also supports 1-1 signal.
Methods
__init__()notify(source, signal, destination, *args, ...)Sends signal to the intended listener registered for the signal and wait on the result.
register(handler, signal, callback)- notify(source, signal, destination, *args, **kwargs)¶
Sends signal to the intended listener registered for the signal and wait on the result.