.. 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.sized_controls .. highlight:: python .. _wx.lib.sized_controls.SizedPanel: ========================================================================================================================================== |phoenix_title| **wx.lib.sized_controls.SizedPanel** ========================================================================================================================================== A sized panel. Controls added to it will automatically be added to its sizer. | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class SizedPanel:
| |super_classes| Known Superclasses ================================== :class:`wx.Panel`, :class:`wx.lib.sized_controls.SizedParent` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.lib.sized_controls.SizedPanel.__init__` `self` in the following sample is a :class:`wx.SizedPanel` instance. :meth:`~wx.lib.sized_controls.SizedPanel.AddChild` Called automatically by wx, do not call it from user code. ================================================================================ ================================================================================ | |api| Class API =============== .. class:: SizedPanel(wx.Panel, SizedParent) A sized panel. Controls added to it will automatically be added to its sizer. .. method:: __init__(self, \*args, \*\*kwargs) `self` in the following sample is a :class:`wx.SizedPanel` instance. Sample usage:: self.SetSizerType("horizontal") b1 = wx.Button(self, wx.ID_ANY) t1 = wx.TextCtrl(self, -1) t1.SetSizerProps(expand=True) .. method:: AddChild(self, child) Called automatically by wx, do not call it from user code.