Public Member Functions | List of all members
progressbar.ProgressBarWidget Class Reference
Inheritance diagram for progressbar.ProgressBarWidget:
progressbar.ETA progressbar.FileTransferSpeed progressbar.Percentage progressbar.RotatingMarker progressbar.Total progressbar.Value

Public Member Functions

def update (self, pbar)
 

Detailed Description

This is an element of ProgressBar formatting.

The ProgressBar object will call it's update value when an update
is needed. It's size may change between call, but the results will
not be good if the size changes drastically and repeatedly.

Definition at line 69 of file progressbar.py.

Member Function Documentation

def progressbar.ProgressBarWidget.update (   self,
  pbar 
)
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.

At least this function must be overriden.

Definition at line 76 of file progressbar.py.

76  def update(self, pbar):
77  """Returns the string representing the widget.
78 
79  The parameter pbar is a reference to the calling ProgressBar,
80  where one can access attributes of the class for knowing how
81  the update must be made.
82 
83  At least this function must be overriden."""
84  pass
85 

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