Module pubsub
[show private | hide private]
[frames | no frames]

Module pubsub

The publish subscribe mechanism used to maintain lists of stuff.

This helps different pieces of code maintain lists of things (eg wallpapers, categories) and other to express and interest and be notified when it changes (eg field editors). The wxPython pubsub module is the base. The enhancements are a list of standard topics in this file.

This code also used to be larger as the wxPython pubsub didn't use weak references. It does now, so a whole bunch of code could be deleted.
Function Summary
  publish(topic, data)
  subscribe(listener, topic)
  unsubscribe(listener)

Generated by Epydoc 2.1 on Fri Aug 15 18:58:37 2008 http://epydoc.sf.net