Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Package agw :: Module piectrl :: Class PieCtrl |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ | PieCtrl
ProgressPie
Method Summary | |
---|---|
Default class constructor. | |
Here we draw all the sectors of PieCtrl. | |
Here we draw the PieCtrl external edges. | |
Returns the orientation angle for PieCtrl. | |
Returns the PieCtrl background colour. | |
Returns the PieCtrl background image. | |
Returns the height (in pixels) of the PieCtrl. | |
Returns the PieCtrl legend. | |
Returns the angles associated to all segments. | |
Returns the angle at which the first sector starts. | |
Returns whether the PieCtrl edges are visible or not. | |
Handles the wx.EVT_PAINT event for PieCtrl. | |
Handles the wx.EVT_SIZE event for PieCtrl. | |
Recreates the PieCtrl container (canvas). | |
Sets the orientation angle for PieCtrl. | |
Sets the PieCtrl background colour. | |
Sets the PieCtrl background image. | |
Sets the height (in pixels) of the PieCtrl. | |
Sets the angle at which the first sector starts. | |
Sets whether the PieCtrl edges are visible or not. |
Property Summary |
---|
Instance Method Details |
---|
__init__(self,
parent,
id=-1,
pos=wx.Point(-1, -1),
size=wx.Size(-1, -1),
style=0,
name='PieCtrl')
|
Draw(self, pdc)Here we draw all the sectors of PieCtrl. |
DrawParts(self, dc, cx, cy, w, h)Here we draw the PieCtrl external edges. |
GetAngle(self)Returns the orientation angle for PieCtrl. |
GetBackColour(self)Returns the PieCtrl background colour. |
GetBackground(self)Returns the PieCtrl background image. |
GetHeight(self)Returns the height (in pixels) of the PieCtrl. |
GetLegend(self)Returns the PieCtrl legend. |
GetPartAngles(self)Returns the angles associated to all segments. |
GetRotationAngle(self)Returns the angle at which the first sector starts. |
GetShowEdges(self)Returns whether the PieCtrl edges are visible or not. |
OnPaint(self, event)Handles the wx.EVT_PAINT event for PieCtrl. |
OnSize(self, event)Handles the wx.EVT_SIZE event for PieCtrl. |
RecreateCanvas(self)Recreates the PieCtrl container (canvas). |
SetAngle(self, angle)Sets the orientation angle for PieCtrl. |
SetBackColour(self, colour)Sets the PieCtrl background colour. |
SetBackground(self, bmp)Sets the PieCtrl background image. |
SetHeight(self, value)Sets the height (in pixels) of the PieCtrl. |
SetRotationAngle(self, angle)Sets the angle at which the first sector starts. |
SetShowEdges(self, value=True)Sets whether the PieCtrl edges are visible or not. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:54:05 2009 | http://epydoc.sf.net |