phoenix_title wx.lib.sized_controls.SizedPanel

A sized panel.

Controls added to it will automatically be added to its sizer.


class_hierarchy Class Hierarchy

Inheritance diagram for class SizedPanel:

super_classes Known Superclasses

wx.Panel, wx.lib.sized_controls.SizedParent


method_summary Methods Summary

__init__

self in the following sample is a wx.SizedPanel instance.

AddChild

Called automatically by wx, do not call it from user code.


api Class API

class SizedPanel(wx.Panel, SizedParent)

A sized panel.

Controls added to it will automatically be added to its sizer.


Methods

__init__(self, *args, **kwargs)

self in the following sample is a wx.SizedPanel instance.

Sample usage:

self.SetSizerType("horizontal")

b1 = wx.Button(self, wx.ID_ANY)
t1 = wx.TextCtrl(self, -1)
t1.SetSizerProps(expand=True)


AddChild(self, child)

Called automatically by wx, do not call it from user code.