Public Member Functions | List of all members
progressbar.ProgressBarWidgetHFill Class Reference
Inheritance diagram for progressbar.ProgressBarWidgetHFill:
progressbar.Bar progressbar.ReverseBar

Public Member Functions

def update (self, pbar, width)
 

Detailed Description

This is a variable width element of ProgressBar formatting.

The ProgressBar object will call it's update value, informing the
width this object must the made. This is like TeX \\hfill, 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 86 of file progressbar.py.

Member Function Documentation

def progressbar.ProgressBarWidgetHFill.update (   self,
  pbar,
  width 
)
Returns the string representing the widget.

The parameter pbar is a reference to the calling ProgressBar,
where one can access attributes of the class for knowing how
the update must be made. The parameter width is the total
horizontal width the widget must have.

At least this function must be overriden.

Definition at line 95 of file progressbar.py.

95  def update(self, pbar, width):
96  """Returns the string representing the widget.
97 
98  The parameter pbar is a reference to the calling ProgressBar,
99  where one can access attributes of the class for knowing how
100  the update must be made. The parameter width is the total
101  horizontal width the widget must have.
102 
103  At least this function must be overriden."""
104  pass
105 
106 
def update(self, pbar, width)
Definition: progressbar.py:95

The documentation for this class was generated from the following file: