PieCtrl
is somewhat a “static” control, that you may create in order to display
a simple pie chart on a Panel
or similar.
wx.lib.agw.piectrl.ProgressPie
Default class constructor. |
|
Draws all the sectors of |
|
Draws the |
|
Returns the orientation angle for |
|
Returns the |
|
Returns the |
|
Returns the height (in pixels) of the |
|
Returns the |
|
Returns the angles associated to all segments. |
|
Returns the angle at which the first sector starts, in radians. |
|
Returns whether the |
|
Handles the |
|
Handles the |
|
Recreates the |
|
Sets the orientation angle for |
|
Sets the |
|
Sets the |
|
Sets the height (in pixels) of the |
|
Sets the angle at which the first sector starts. |
|
Sets whether the |
PieCtrl
is somewhat a “static” control, that you may create in order to display
a simple pie chart on a Panel
or similar.
Default class constructor.
parent – the PieCtrl
parent. Must not be None
;
id – window identifier. A value of -1 indicates a default value;
pos – the control position. A value of (-1, -1) indicates a default position, chosen by either the windowing system or wxPython, depending on platform;
size – the control size. A value of (-1, -1) indicates a default size, chosen by either the windowing system or wxPython, depending on platform;
style – the window style (unused);
name – the window name.
Draws the PieCtrl
external edges.
dc – an instance of wx.DC
;
cx – the part x coordinate;
cy – the part y coordinate;
w – the control’s width;
h – the control’s height.
Returns the angles associated to all segments.
Returns the angle at which the first sector starts, in radians.
Handles the wx.EVT_PAINT
event for PieCtrl
.
event – a PaintEvent
event to be processed.
Handles the wx.EVT_SIZE
event for PieCtrl
.
event – a wx.SizeEvent
event to be processed.
Sets the orientation angle for PieCtrl
.
angle – the orientation angle for PieCtrl
, in radians.
Sets the PieCtrl
background colour.
colour – a valid wx.Colour
object.
Sets the PieCtrl
background image.
bmp – a valid wx.Bitmap
object.
Sets the height (in pixels) of the PieCtrl
.
value – the new height of the widget, in pixels.
Sets the angle at which the first sector starts.
angle – the first sector angle, in radians.