CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Attributes | Static Private Attributes
progressbar.Widget Class Reference
Inheritance diagram for progressbar.Widget:
progressbar.Timer progressbar.WidgetHFill progressbar.FormatLabel progressbar.Bar progressbar.BouncingBar

Public Member Functions

def update
 

Static Public Attributes

 TIME_SENSITIVE = False
 

Static Private Attributes

tuple __slots__ = ()
 

Detailed Description

The base class for all widgets

The ProgressBar will call the widget's update value when the widget should
be updated. The widget's size may change between calls, but the widget may
display incorrectly if the size changes drastically and repeatedly.

The boolean TIME_SENSITIVE informs the ProgressBar that it should be
updated more often because it is time sensitive.

Definition at line 17 of file progressbar.py.

Member Function Documentation

def progressbar.Widget.update (   self,
  pbar 
)
Updates the widget.

pbar - a reference to the calling ProgressBar

Definition at line 32 of file progressbar.py.

Referenced by progressbar.ProgressBar.__next__(), MatrixUtil.Matrix.__setitem__(), MatrixUtil.Steps.__setitem__(), progressbar.ProgressBar.finish(), and MatrixUtil.Steps.overwrite().

32 
33  def update(self, pbar):
34  '''Updates the widget.
35 
36  pbar - a reference to the calling ProgressBar
'''

Member Data Documentation

tuple progressbar.Widget.__slots__ = ()
staticprivate

Definition at line 29 of file progressbar.py.

progressbar.Widget.TIME_SENSITIVE = False
static

Definition at line 28 of file progressbar.py.