Table Of Contents

Previous topic

Separator

Next topic

StatusBarTimer

This Page

phoenix_title Sizer

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


class_hierarchy Inheritance Diagram

Inheritance diagram for class Sizer

Inheritance diagram of Sizer


method_summary Methods Summary

__init__ Default class constructor.
Draw Draws all the children of the sizer.
GetBestSize This functions returns the best acceptable minimal size for the sizer object.

api Class API



class Sizer(object)

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


Methods



__init__(self)

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



Draw(self, dc, x1=0, y1=0, x2=0, y2=0)

Draws all the children of the sizer.



GetBestSize(self)

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

Returns:An instance of Size.