CMS 3D CMS Logo

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 (self, pbar, width)
 
- Public Member Functions inherited from progressbar.Widget
def update (self, pbar)
 

Additional Inherited Members

- Static Public Attributes inherited from progressbar.Widget
 TIME_SENSITIVE
 

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

◆ update()

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

Reimplemented in progressbar.BouncingBar, and progressbar.Bar.

Definition at line 66 of file progressbar.py.

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

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

update
#define update(a, b)
Definition: TrackClassifier.cc:10