Phoenix Logo

phoenix_title wx.lib.agw.buttonpanel.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.


class_hierarchy Class Hierarchy

Inheritance diagram for class 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 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.


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 wx.Size.