Package wx :: Package py :: Module dispatcher
[frames | no frames]

Module wx.py.dispatcher

Provides global signal dispatching services.


Classes
BoundMethodWeakref BoundMethodWeakref class.
Parameter Used to represent default parameter values.

Exceptions
DispatcherError  

Function Summary
  connect(receiver, signal, sender, weak)
Connect receiver to sender for signal.
  disconnect(receiver, signal, sender, weak)
Disconnect receiver from sender for signal.
  safeRef(object)
Return a safe weak reference to a callable object.
  send(signal, sender, **kwds)
Send signal from sender to all connected receivers.

Function Details

connect(receiver, signal=Any, sender=Any, weak=True)

Connect receiver to sender for signal.

  • If sender is Any, receiver will receive signal from any sender.
  • If signal is Any, receiver will receive any signal from sender.
  • If sender is None, receiver will receive signal from Anonymous.
  • If signal is Any and sender is None, receiver will receive any signal from Anonymous.
  • If signal is Any and sender is Any, receiver will receive any signal from any sender.
  • If weak is true, weak references will be used.

disconnect(receiver, signal=Any, sender=Any, weak=True)

Disconnect receiver from sender for signal.

Disconnecting is not required. The use of disconnect is the same as for connect, only in reverse. Think of it as undoing a previous connection.

safeRef(object)

Return a safe weak reference to a callable object.

send(signal, sender=Anonymous, **kwds)

Send signal from sender to all connected receivers.

Return a list of tuple pairs [(receiver, response), ... ]. If sender is not specified, signal is sent anonymously.


Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:53:20 2009 http://epydoc.sf.net