Package wx :: Package lib :: Package agw :: Module piectrl :: Class PieCtrl

[frames | no frames]

## Type PieCtrl

    object --+
             |
        Object --+
                 |
        EvtHandler --+
                     |
                Window --+
                         |
                        PieCtrl

Known Subclasses:
  `ProgressPie`

Method Summary
| ``__init__`(self, parent, id, pos, size, style, name)` Default class constructor.
| ``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)` 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')
(Constructor)

Default class constructor.

No special parameters are required, only the standard wxPython ones.

  Overrides:
    `wx.Window.__init__`

### 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.

Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:54:05 2009 | http://epydoc.sf.net