wx.lib.agw.piectrl.ProgressPie¶ProgressPie tries to emulate the behavior of ProgressDialog, but
using a pie chart instead of a gauge.
Methods Summary¶Default class constructor. |
|
Returns the colour that progressively fills the |
|
Returns the |
|
Returns the colour that is filled. |
|
Returns the |
|
Sets the colour that progressively fills the |
|
Sets the |
|
Sets the colour that is filled. |
|
Sets the |
Class API¶ProgressPie(PieCtrl)¶ProgressPie tries to emulate the behavior of ProgressDialog, but
using a pie chart instead of a gauge.
__init__(self, parent, maxvalue, value, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0)¶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.
GetFilledColour(self)¶Returns the colour that progressively fills the ProgressPie.
GetMaxValue(self)¶Returns the ProgressPie maximum value.
GetUnfilledColour(self)¶Returns the colour that is filled.
GetValue(self)¶Returns the ProgressPie value.
SetFilledColour(self, colour)¶Sets the colour that progressively fills the ProgressPie .
colour – a valid wx.Colour object.
SetMaxValue(self, value)¶Sets the ProgressPie maximum value.
value – a floating point number representing the maximum value.
SetUnfilledColour(self, colour)¶Sets the colour that is filled.
colour – a valid wx.Colour object.
SetValue(self, value)¶Sets the ProgressPie value.
value – a floating point number representing the new value.