AGW Logo

agw_title Sizer

This is a mix-in class to add pseudo support to wx.Sizer. Just create a new class that derives from this class and wx.Sizer and intercepts any methods that add to the wx sizer.

hierarchy Inheritance Diagram

Inheritance diagram for: Sizer

Inheritance diagram of Sizer


subclasses Known Subclasses


method_summary Methods Summary

__init__Default class constructor.
DrawDraws all the children of the sizer.
GetBestSizeThis functions returns the best acceptable minimal size for the sizer object.

API Class API

class Sizer(object)[source]

This is a mix-in class to add pseudo support to wx.Sizer. Just create a new class that derives from this class and wx.Sizer and intercepts any methods that add to the wx sizer.



__init__()[source]

Default class constructor. For internal use: do not call it in your code!



Draw(dc, x1=0, y1=0, x2=0, y2=0)[source]

Draws all the children of the sizer.



GetBestSize()[source]

This functions returns the best acceptable minimal size for the sizer object.

Returns:An instance of wx.Size.
Tree

Table Of Contents

Previous topic

Separator

Next topic

StatusBarTimer