.. 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.SizedScrolledPanel:
==========================================================================================================================================
|phoenix_title| **wx.lib.sized_controls.SizedScrolledPanel**
==========================================================================================================================================
A sized scrolled panel.
Controls added to it will automatically be added to its sizer.
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
SizedScrolledPanel:
|
|super_classes| Known Superclasses
==================================
:class:`wx.lib.scrolledpanel.ScrolledPanel`, :class:`wx.lib.sized_controls.SizedParent`
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.lib.sized_controls.SizedScrolledPanel.__init__` `self` in the following sample is a :class:`wx.SizedScrolledPanel` instance.
:meth:`~wx.lib.sized_controls.SizedScrolledPanel.AddChild` Called automatically by wx, should not be called from user code.
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: SizedScrolledPanel(sp.ScrolledPanel, SizedParent)
A sized scrolled 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.SizedScrolledPanel` 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, should not be called from user code.
:param `child`: child (window or another sizer) to be added to sizer.