mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 19:40:12 +01:00
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
20 lines
417 B
Python
20 lines
417 B
Python
"""
|
|
|
|
:copyright: Copyright since 2006 by Oliver Schoenborn, all rights reserved.
|
|
:license: BSD, see LICENSE.txt for details.
|
|
|
|
"""
|
|
|
|
from pubsub import pub
|
|
|
|
|
|
def doSomething1():
|
|
pub.sendMessage('topic_1.subtopic_11', ('message for subtopic 11', 'other message', 123))
|
|
|
|
|
|
def doSomething2():
|
|
pub.sendMessage('topic_1', 'message for topic 1')
|
|
pub.sendMessage('topic_2.subtopic_21', 'message for subtopic 2')
|
|
|
|
|