Table Of Contents

Previous topic

sized_controls

Next topic

SizedFrame

This Page

phoenix_title SizedDialog


class_hierarchy Inheritance Diagram

Inheritance diagram for class SizedDialog

Inheritance diagram of SizedDialog


super_classes Known Superclasses

Dialog


method_summary Methods Summary

__init__ A sized dialog
GetContentsPane Return the pane to add controls too
SetButtonSizer  

api Class API



class SizedDialog(Dialog)

Methods



__init__(self, *args, **kwargs)

A sized dialog

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

Usage: ‘self’ is a SizedDialog instance

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

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



GetContentsPane(self)

Return the pane to add controls too



SetButtonSizer(self, sizer)