CMS 3D CMS Logo

Public Member Functions | Static Public Attributes | Static Private Attributes

progressbar::Widget Class Reference

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

List of all members.

Public Member Functions

def update

Static Public Attributes

 TIME_SENSITIVE = False

Static Private Attributes

tuple __slots__ = ()

Detailed Description

The base class for all widgets

The ProgressBar will call the widget's update value when the widget should
be updated. The widget's size may change between calls, but the widget may
display incorrectly if the size changes drastically and repeatedly.

The boolean TIME_SENSITIVE informs the ProgressBar that it should be
updated more often because it is time sensitive.

Definition at line 17 of file progressbar.py.


Member Function Documentation

def progressbar::Widget::update (   self,
  pbar 
)
Updates the widget.

pbar - a reference to the calling ProgressBar

Reimplemented in progressbar::Timer, and progressbar::FormatLabel.

Definition at line 32 of file progressbar.py.

00033                           :
00034         '''Updates the widget.
00035 
00036         pbar - a reference to the calling ProgressBar
        '''

Member Data Documentation

tuple progressbar::Widget::__slots__ = () [static, private]

Reimplemented in progressbar::Timer, progressbar::Bar, and progressbar::FormatLabel.

Definition at line 29 of file progressbar.py.

Reimplemented in progressbar::Timer.

Definition at line 28 of file progressbar.py.