wx.lib.delayedresult.Handler¶Bind some of the arguments and keyword arguments of a callable (‘listener’). Then when the Handler instance is called (e.g. handler(result, **kwargs)) the result is passed as first argument to callable, the kwargs is combined with those given at construction, and the args are those given at construction. Its return value is returned.
Class Hierarchy¶
Inheritance diagram for class Handler:

Methods Summary¶Bind args and kwargs to listener. |
Class API¶Handler¶Bind some of the arguments and keyword arguments of a callable (‘listener’). Then when the Handler instance is called (e.g. handler(result, **kwargs)) the result is passed as first argument to callable, the kwargs is combined with those given at construction, and the args are those given at construction. Its return value is returned.
__init__(self, listener, *args, **kwargs)¶Bind args and kwargs to listener.