Files
Phoenix/wx/lib/pubsub/core/treeconfig.py
Oliver Schoenborn 6a1bbb55f5 CHG: update to latest pypubsub (3.3.dev1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-10-27 05:10:22 +00:00

22 lines
580 B
Python

'''
:copyright: Copyright since 2006 by Oliver Schoenborn, all rights reserved.
:license: BSD, see LICENSE_BSD_Simple.txt for details.
'''
from .notificationmgr import NotificationMgr
class TreeConfig:
'''
Each topic tree has its own topic manager and configuration,
such as notification and exception handling.
'''
def __init__(self, notificationHandler=None, listenerExcHandler=None):
self.notificationMgr = NotificationMgr(notificationHandler)
self.listenerExcHandler = listenerExcHandler
self.raiseOnTopicUnspecified = False