Table Of Contents

Previous topic

SizedDialog

Next topic

SizedPanel

This Page

phoenix_title SizedFrame


class_hierarchy Inheritance Diagram

Inheritance diagram for class SizedFrame

Inheritance diagram of SizedFrame


super_classes Known Superclasses

Frame


method_summary Methods Summary

__init__ A sized frame
GetContentsPane Return the pane to add controls too

api Class API



class SizedFrame(Frame)

Methods



__init__(self, *args, **kwargs)

A sized frame

Controls added to its content pane will automatically be added to the panes sizer.

Usage: ‘self’ is a SizedFrame instance

pane = self.GetContentsPane() pane.SetSizerType(“horizontal”)

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



GetContentsPane(self)

Return the pane to add controls too