Module pisiprogress :: Class Progress
[hide private]
[frames] | no frames]

Class Progress

source code

Handling of progress in terms of percentage

You may have a linear progress 'bar' or create several layers of progresses. There is a need to put some more documentation here soon.

Instance Methods [hide private]
 
__init__(self)
Initialize progress with one single layer
source code
 
setProgress(self, x)
Set progress in top layer
source code
 
push(self, x1, x2)
Add another layer of progress
source code
 
drop(self)
Remove the top layer in progress
source code
 
reset(self)
Drop all layers and reset to 0
source code
 
calculateOverallProgress(self)
Iterate through layers to calculate the current overall progress
source code