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