Phoenix Logo

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

Inheritance diagram for class SizedScrolledPanel:

method_summary Methods Summary

__init__ self in the following sample is a wx.SizedScrolledPanel instance.
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.


Methods



__init__(self, *args, **kwargs)

self in the following sample is a wx.SizedScrolledPanel 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, should not be called from user code.

Parameters:child – child (window or another sizer) to be added to sizer.