Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Package agw :: Module pyprogress :: Class PyProgress |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ |TopLevelWindow
--+ |Dialog
--+ | PyProgress
Method Summary | |
---|---|
Default class constructor. | |
Creates the wx.StaticText that holds the elapsed time label. | |
Disables the Cancel button. | |
Enables or disables the Cancel button. | |
Enables or disables the Close button. | |
Returns the gauge first gradient colour. | |
Returns the gauge background colour. | |
Returns the relative proportion between the sliding bar and the whole gauge. | |
Returns the number of steps the gauge performs before switching from forward to backward (or vice-versa) movement. | |
Returns the gauge second gradient colour. | |
Handles the wx.EVT_BUTTON event for the Cancel button. | |
Handles the wx.EVT_CLOSE event for PyProgress. | |
Handles the wx.EVT_WINDOW_DESTROY event for PyProgress. | |
Re-enables the other windows if using wx.WindowDisabler. | |
Sets the gauge first gradient colour. | |
Sets the gauge background colour. | |
Sets the relative proportion between the sliding bar and the whole gauge. | |
Sets the number of steps the gauge performs before switching from forward to backward (or vice-versa) movement. | |
Sets the gauge second gradient colour. | |
Sets the elapsed time label. | |
Show the dialog. | |
Update the progress dialog with a (optionally) new message. |
Property Summary |
---|
Class Variable Summary |
---|
Instance Method Details |
---|
__init__(self,
parent=None,
id=-1,
title='',
message='',
style=6)
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=True)Enables or disables the Cancel button. |
EnableClose(self, enable=True)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=None)Sets the elapsed time label. |
ShowDialog(self, show=True)Show the dialog. |
UpdatePulse(self, newmsg='')Update the progress dialog with a (optionally) new message. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:51:29 2009 | http://epydoc.sf.net |