Package horizons :: Package gui :: Package widgets :: Module progressbar :: Class ProgressBar
[hide private]
[frames] | no frames]

Class ProgressBar

source code

fife.extensions.pychan.widgets.ABox --+
                                      |
                                     ProgressBar

The ProgressBar is a pychan widget. It can be used in xml files like this: <ProgressBar /> It is used to display a ProgressBar with a certain progress ;). Set the widgets progress attribute to set the progress. Pretty straight forward. The progress is a value from 0 to 100. Think of it as percent.

Instance Methods [hide private]
 
__init__(self, progress=0, fill=None, background=None, **kwargs) source code
 
_set_progress(self, progress) source code
 
_get_progress(self) source code
 
_set_fill_image(self, image) source code
 
_get_fill_image(self) source code
 
_set_background(self, background) source code
 
_get_background(self) source code
Class Variables [hide private]
  ATTRIBUTES = ABox.ATTRIBUTES+ [IntAttr('progress'), Attr('fill...
  progress = property(_get_progress, _set_progress)
  fill = property(_get_fill_image, _set_fill_image)
  background = property(_get_background, _set_background)
Class Variable Details [hide private]

ATTRIBUTES

Value:
ABox.ATTRIBUTES+ [IntAttr('progress'), Attr('fill'), Attr('background'\
),]