Phoenix Logo

phoenix_title wx.lib.agw.buttonpanel.Separator

This class holds all the information to size and draw a separator inside ButtonPanel.


class_hierarchy Class Hierarchy

Inheritance diagram for class Separator:

method_summary Methods Summary

__init__ Default class constructor.
Draw Draws the separator. Actually the drawing is done in BPArt.
GetBestSize Returns the separator best size.

api Class API



class Separator(Control)

This class holds all the information to size and draw a separator inside ButtonPanel.


Methods



__init__(self, parent)

Default class constructor.

Parameters:parent – the separator parent object, an instance of ButtonPanel.


Draw(self, dc, rect)

Draws the separator. Actually the drawing is done in BPArt.

Parameters:
  • dc – an instance of wx.DC;
  • rect (wx.Rect) – the separator client rectangle.


GetBestSize(self)

Returns the separator best size.

Returns:An instance of wx.Size.