| Method Summary |
| |
__init__(self,
parent,
id,
title,
message,
style)
Default class constructor. |
| |
CreateLabel(self,
text,
sizer)
Creates the wx.StaticText that holds the elapsed time label. |
| |
DisableAbort(self)
Disables the Cancel button. |
| |
EnableAbort(self,
enable)
Enables or disables the Cancel button. |
| |
EnableClose(self,
enable)
Enables or disables the Close button. |
| |
GetFirstGradientColour(self)
Returns the gauge first gradient colour. |
| |
GetGaugeBackground(self)
Returns the gauge background colour. |
| |
GetGaugeProportion(self)
Returns the relative proportion between the sliding bar and the whole
gauge. |
| |
GetGaugeSteps(self)
Returns the number of steps the gauge performs before switching from
forward to backward (or vice-versa) movement. |
| |
GetSecondGradientColour(self)
Returns the gauge second gradient colour. |
| |
OnCancel(self,
event)
Handles the wx.EVT_BUTTON event for the Cancel button. |
| |
OnClose(self,
event)
Handles the wx.EVT_CLOSE event for PyProgress. |
| |
OnDestroy(self,
event)
Handles the wx.EVT_WINDOW_DESTROY event for PyProgress. |
| |
ReenableOtherWindows(self)
Re-enables the other windows if using wx.WindowDisabler. |
| |
SetFirstGradientColour(self,
colour)
Sets the gauge first gradient colour. |
| |
SetGaugeBackground(self,
colour)
Sets the gauge background colour. |
| |
SetGaugeProportion(self,
proportion)
Sets the relative proportion between the sliding bar and the whole
gauge. |
| |
SetGaugeSteps(self,
steps)
Sets the number of steps the gauge performs before switching from
forward to backward (or vice-versa) movement. |
| |
SetSecondGradientColour(self,
colour)
Sets the gauge second gradient colour. |
| |
SetTimeLabel(self,
val,
label)
Sets the elapsed time label. |
| |
ShowDialog(self,
show)
Show the dialog. |
| |
UpdatePulse(self,
newmsg)
Update the progress dialog with a (optionally) new message. |