Table Of Contents

Previous topic

Control

Next topic

Sizer

This Page

phoenix_title Separator

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


class_hierarchy Inheritance Diagram

Inheritance diagram for class Separator

Inheritance diagram of Separator


super_classes Known Superclasses

lib.agw.buttonpanel.Control


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 DC;
  • rect (Rect) – the separator client rectangle.


GetBestSize(self)

Returns the separator best size.

Returns:An instance of Size.