.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2020 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. currentmodule:: wx.lib.pubsub.core.publisher
.. highlight:: python
.. _wx.lib.pubsub.core.publisher.Publisher:
==========================================================================================================================================
|phoenix_title| **wx.lib.pubsub.core.publisher.Publisher**
==========================================================================================================================================
Publisher used for kwargs protocol, ie when sending message data
via keyword arguments.
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
Publisher:
|
|sub_classes| Known Subclasses
==============================
:class:`wx.lib.pubsub.core.publisher.PublisherArg1Stage2`
|
|super_classes| Known Superclasses
==================================
:class:`wx.lib.pubsub.core.publisherbase.PublisherBase`
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.lib.pubsub.core.publisher.Publisher.getMsgProtocol`
:meth:`~wx.lib.pubsub.core.publisher.Publisher.sendMessage` Send a message.
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: Publisher(PublisherBase)
Publisher used for kwargs protocol, ie when sending message data
via keyword arguments.
.. method:: getMsgProtocol(self)
.. method:: sendMessage(self, topicName, \*\*kwargs)
Send a message.
:param topicName: name of message topic (dotted or tuple format)
:param kwargs: message data (must satisfy the topic's MDS)