Table Of Contents

Previous topic

SizedParent

Next topic

TableSizer

This Page

phoenix_title SizedScrolledPanel


class_hierarchy Inheritance Diagram

Inheritance diagram for class SizedScrolledPanel

Inheritance diagram of SizedScrolledPanel


super_classes Known Superclasses

lib.scrolledpanel.ScrolledPanel, lib.sized_controls.SizedParent


method_summary Methods Summary

__init__ A sized scrolled panel
AddChild Called automatically by wx, should not be called from user code

api Class API



class SizedScrolledPanel(sp.ScrolledPanel, SizedParent)

Methods



__init__(self, *args, **kwargs)

A sized scrolled panel

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

Usage: ‘self’ is a SizedScrolledPanel instance

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