AGW Logo

agw_title Separator

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

hierarchy Inheritance Diagram

Inheritance diagram for: Separator

Inheritance diagram of Separator


supclasses Known Superclasses


method_summary Methods Summary

__init__Default class constructor.
DrawDraws the separator.
GetBestSizeReturns the separator best size.

API Class API

class Separator(Control)[source]

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



__init__(parent)[source]

Default class constructor.

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


Draw(dc, rect)[source]

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()[source]

Returns the separator best size.

Returns:An instance of wx.Size.
Tree

Table Of Contents

Previous topic

Control

Next topic

Sizer