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

Inheritance diagram of SizedFrame

| |super_classes| Known Superclasses ================================== :class:`Frame` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~lib.sized_controls.SizedFrame.__init__` A sized frame :meth:`~lib.sized_controls.SizedFrame.GetContentsPane` Return the pane to add controls too ================================================================================ ================================================================================ | |api| Class API =============== .. class:: SizedFrame(Frame) .. method:: __init__(self, \*args, \*\*kwargs) A sized frame Controls added to its content pane will automatically be added to the panes sizer. Usage: 'self' is a SizedFrame instance pane = self.GetContentsPane() pane.SetSizerType("horizontal") b1 = wx.Button(pane, wx.ID_ANY) t1 = wx.TextCtrl(pane, -1) t1.SetSizerProps(expand=True) .. method:: GetContentsPane(self) Return the pane to add controls too