.. include:: headings.inc .. currentmodule:: lib.sized_controls .. highlight:: python .. _lib.sized_controls.SizedPanel: ========================================================================================================================================== |phoenix_title| **SizedPanel** ========================================================================================================================================== | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **SizedPanel** .. raw:: html

Inheritance diagram of SizedPanel

| |super_classes| Known Superclasses ================================== :class:`PyPanel`, :class:`lib.sized_controls.SizedParent` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~lib.sized_controls.SizedPanel.__init__` A sized panel :meth:`~lib.sized_controls.SizedPanel.AddChild` Called automatically by wx, do not call it from user code ================================================================================ ================================================================================ | |api| Class API =============== .. class:: SizedPanel(PyPanel, SizedParent) .. method:: __init__(self, \*args, \*\*kwargs) A sized panel Controls added to it will automatically be added to its sizer. Usage: 'self' is a SizedPanel instance 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