.. 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.delayedresult .. highlight:: python .. _wx.lib.delayedresult.Struct: ========================================================================================================================================== |phoenix_title| **wx.lib.delayedresult.Struct** ========================================================================================================================================== An object that has attributes built from the dictionary given in constructor. So ss=Struct(a=1, b='b') will satisfy assert ss.a == 1 and assert ss.b == 'b'. | |class_hierarchy| Class Hierarchy ================================= .. raw:: html <div id="toggleBlock" onclick="return toggleVisibility(this)" class="closed" style="cursor:pointer;"> <img id="toggleBlock-trigger" src="_static/images/closed.png"/> Inheritance diagram for class <strong>Struct</strong>: </div> <div id="toggleBlock-summary" style="display:block;"></div> <div id="toggleBlock-content" style="display:none;"> <p class="graphviz"> <center><img src="_static/images/inheritance/wx.lib.delayedresult.Struct_inheritance.svg" alt="Inheritance diagram of Struct" usemap="#dummy" class="inheritance"/></center> <script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script> <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.lib.delayedresult.Struct.html" title="An object that has attributes built from the dictionary given in" alt="" coords="5,5,220,34"/> </map> </p> </div> | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.lib.delayedresult.Struct.__init__` Initialize self. See help(type(self)) for accurate signature. ================================================================================ ================================================================================ | |api| Class API =============== .. class:: Struct An object that has attributes built from the dictionary given in constructor. So ss=Struct(a=1, b='b') will satisfy assert ss.a == 1 and assert ss.b == 'b'. .. method:: __init__(self, \*\*kwargs) Initialize self. See help(type(self)) for accurate signature.