3.11.4. sciexp2.common.progress.Stack
Methods
|
Remove the last progress indicator from the stack. |
|
Add a new progress indicator to the stack and make it current. |
Attributes
The currently active progress indicator. |
- class Stack
Bases:
objectStack of currently active progress indicators.
Provides only static attributes and methods, in order to provide a program-wide stateful stack of progress indicators.
- CURRENT = <sciexp2.common.progress.Null object>
The currently active progress indicator.
- static push(klass, *args, **kwargs)
Add a new progress indicator to the stack and make it current.
- Parameters:
- klasscallable
Class object or function to construct the new progress indicator.
- args, kwargs
Arguments to klass.
- static pop()
Remove the last progress indicator from the stack.