CMS 3D CMS Logo

Public Member Functions

progressbar::WidgetHFill Class Reference

Inheritance diagram for progressbar::WidgetHFill:
progressbar::Widget progressbar::Bar progressbar::BouncingBar

List of all members.

Public Member Functions

def update

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

Reimplemented in progressbar::Bar, and progressbar::BouncingBar.

Definition at line 66 of file progressbar.py.

00067                                  :
00068         '''Updates the widget providing the total width the widget must fill.
00069 
00070         pbar - a reference to the calling ProgressBar
00071         width - The total width the widget must fill
        '''