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

Inheritance diagram of SizedDialog

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