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

Inheritance diagram of SizedScrolledPanel

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