Files
Phoenix/wx/lib/pubsub/core/treeconfig.py
Robin Dunn 4b6ee40a14 Merge pull request #938 from RobinD42/fix-issue932-b
Restore wx.lib.pubsub, and officially deprecate
(cherry picked from commit 8fad2231a0)
2018-07-20 16:45:05 -07:00

22 lines
601 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