.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2025 by Total Control Software
   License:   wxWindows License

.. include:: headings.inc

.. currentmodule:: wx.lib.pubsub.core.publisher

.. highlight:: python



.. _wx.lib.pubsub.core.publisher.PublisherArg1Stage2:

==========================================================================================================================================
|phoenix_title|  **wx.lib.pubsub.core.publisher.PublisherArg1Stage2**
==========================================================================================================================================

This is used when transitioning from arg1 to kwargs
messaging protocol.



|

|class_hierarchy| Class Hierarchy
=================================

.. raw:: html

   <div class="collabsible-wrapper">
      <input id="collapsible-inheritance" class="collapsible-checkbox" type="checkbox">
      <label for="collapsible-inheritance" tabindex="0" title="Show inheritance diagram" class="collapsible-label">Inheritance diagram for class <strong>PublisherArg1Stage2</strong>:</label>
      <div class="collapsible-content">
         <p class="graphviz">
            <center><img src="_static/images/inheritance/wx.lib.pubsub.core.publisher.PublisherArg1Stage2_inheritance.svg" alt="Inheritance diagram of PublisherArg1Stage2" usemap="#dummy" class="inheritance invert-in-dark-mode"/></center>
            <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.lib.pubsub.core.publisher.PublisherArg1Stage2.html" title="This is used when transitioning from arg1 to kwargs" alt="" coords="5,159,393,188"/> <area shape="rect" id="node2" href="wx.lib.pubsub.core.publisher.Publisher.html" title="Publisher used for kwargs protocol, ie when sending message data" alt="" coords="48,82,351,111"/> <area shape="rect" id="node3" href="wx.lib.pubsub.core.publisherbase.PublisherBase.html" title="Represent the class that send messages to listeners of given" alt="" coords="11,5,387,34"/> </map> 
         </p>
      </div>
   </div>
   <script type="text/javascript" src="_static/inheritancetoggle.js"></script>



|


|super_classes| Known Superclasses
==================================

:class:`wx.lib.pubsub.core.publisher.Publisher`

|


|method_summary| Methods Summary
================================

================================================================================ ================================================================================
:meth:`~wx.lib.pubsub.core.publisher.PublisherArg1Stage2.__init__`               If treeConfig is None, a default one is created from an
:meth:`~wx.lib.pubsub.core.publisher.PublisherArg1Stage2.getMsgProtocol`         
:meth:`~wx.lib.pubsub.core.publisher.PublisherArg1Stage2.sendMessage`            Send a message.
================================================================================ ================================================================================


|


|api| Class API
===============


.. class:: PublisherArg1Stage2(Publisher)

   This is used when transitioning from arg1 to kwargs
   messaging protocol.

   .. method:: __init__(self, treeConfig = None)

      If treeConfig is None, a default one is created from an
      instance of TreeConfig.


   .. method:: getMsgProtocol(self)


   .. method:: sendMessage(self, _topicName, \*\*kwarg)

      Send a message.
      
      :param topicName: name of message topic (dotted or tuple format)
      :param kwargs: message data (must satisfy the topic's MDS)


