Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Package agw :: Module pyprogress :: Class ProgressGauge |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ |PyWindow
--+ | ProgressGauge
Method Summary | |
---|---|
Default class constructor. | |
Actually draws the sliding bar. | |
Returns the 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 second gradient colour. | |
Handles the wx.EVT_ERASE_BACKGROUND event for ProgressGauge. | |
Handles the wx.EVT_PAINT event for ProgressGauge. | |
Sets the 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 second gradient colour. | |
Updates the gauge with a new value. |
Property Summary |
---|
Instance Method Details |
---|
__init__(self,
parent,
id=-1,
pos=wx.Point(-1, -1),
size=(-1, 30))
Default class constructor.
|
DrawProgress(self, dc, xsize, ysize, increment)Actually draws the sliding bar. |
GetFirstGradientColour(self)Returns the 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 second gradient colour. |
OnEraseBackground(self, event)Handles the wx.EVT_ERASE_BACKGROUND event for ProgressGauge. |
OnPaint(self, event)Handles the wx.EVT_PAINT event for ProgressGauge. |
SetFirstGradientColour(self, colour)Sets the 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 second gradient colour. |
Update(self)Updates the gauge with a new value.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:55:39 2009 | http://epydoc.sf.net |