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
progressbar.WidgetHFill Class Reference
Inheritance diagram for progressbar.WidgetHFill:
progressbar.Widget progressbar.Bar progressbar.BouncingBar

Public Member Functions

def update
 
- Public Member Functions inherited from progressbar.Widget
def update
 

Additional Inherited Members

- Static Public Attributes inherited from progressbar.Widget
 TIME_SENSITIVE = False
 

Detailed Description

The base class for all variable width widgets.

This widget is much like the \\hfill command in TeX, it will expand to
fill the line. You can use more than one in the same line, and they will
all have the same width, and together will fill the line.

Definition at line 57 of file progressbar.py.

Member Function Documentation

def progressbar.WidgetHFill.update (   self,
  pbar,
  width 
)
Updates the widget providing the total width the widget must fill.

pbar - a reference to the calling ProgressBar
width - The total width the widget must fill

Definition at line 66 of file progressbar.py.

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

66 
67  def update(self, pbar, width):
68  '''Updates the widget providing the total width the widget must fill.
69 
70  pbar - a reference to the calling ProgressBar
71  width - The total width the widget must fill
'''