Package Pyblio :: Module Callback
[hide private]
[frames] | no frames]

Module Callback

source code

A generic callback mechanism.

Classes that wish to emit events inherit from Publisher. Interested clients call the Publisher.register method on the object. The publisher then calls Publisher.emit to emit the event.

Classes [hide private]
  WeakError
Invoked when a function call is performed on a destroyed method
  WeakMethodBound
A weak reference on a bound method
  WeakMethodFree
A weak reference on an unbound method
  Publisher
Base class for objects that wish to emit signals to registered clients.
Functions [hide private]
 
weakmethod(f) source code