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

Inheritance diagram of sized_controls

| |function_summary| Functions Summary ==================================== ================================================================================ ================================================================================ :func:`~lib.sized_controls.GetDefaultBorder` :func:`~lib.sized_controls.GetDefaultPanelBorder` :func:`~lib.sized_controls.GetDialogBorder` :func:`~lib.sized_controls.GetHGrow` :func:`~lib.sized_controls.GetSizerProps` Returns a dictionary of prop name + value :func:`~lib.sized_controls.GetVGrow` :func:`~lib.sized_controls.SetDefaultSizerProps` :func:`~lib.sized_controls.SetHGrow` :func:`~lib.sized_controls.SetSizerProp` Sets a sizer property :func:`~lib.sized_controls.SetSizerProps` Allows to set multiple sizer properties :func:`~lib.sized_controls.SetVGrow` ================================================================================ ================================================================================ | |class_summary| Classes Summary =============================== ================================================================================ ================================================================================ :ref:`lib.sized_controls.SizedDialog` :ref:`lib.sized_controls.SizedFrame` :ref:`lib.sized_controls.SizedPanel` :ref:`lib.sized_controls.SizedParent` :ref:`lib.sized_controls.SizedScrolledPanel` :ref:`lib.sized_controls.TableSizer` ================================================================================ ================================================================================ | .. toctree:: :maxdepth: 1 :hidden: lib.sized_controls.SizedDialog lib.sized_controls.SizedFrame lib.sized_controls.SizedPanel lib.sized_controls.SizedParent lib.sized_controls.SizedScrolledPanel lib.sized_controls.TableSizer Functions ------------ .. function:: GetDefaultBorder(self) .. function:: GetDefaultPanelBorder(self) .. function:: GetDialogBorder(self) .. function:: GetHGrow(self) .. function:: GetSizerProps(self) Returns a dictionary of prop name + value .. function:: GetVGrow(self) .. function:: SetDefaultSizerProps(self) .. function:: SetHGrow(self, proportion) .. function:: SetSizerProp(self, prop, value) Sets a sizer property :param prop: valid strings are "proportion", "hgrow", "vgrow", "align", "halign", "valign", "border", "minsize" and "expand" :param value: corresponding value for the prop .. function:: SetSizerProps(self, props={}, \*\*kwargs) Allows to set multiple sizer properties :param props: a dictionary of prop name + value :param kwargs: key words can be used for properties, e.g. expand=True .. function:: SetVGrow(self, proportion)