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

Class TilingProgressBar

source code

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

ProgressBar that tiles its fill image instead of stretching.

Also supports distinct left and right border/frame images which count towards the displayed progress value and fill images of width > 1px.

Instance Methods [hide private]
 
__init__(self, left=None, right=None, **kwargs) source code
 
_get_progress(self) source code
 
_set_progress(self, progress) source code
 
_get_left_image(self) source code
 
_set_left_image(self, image) source code
 
_get_fill_image(self) source code
 
_set_fill_image(self, image) source code
 
_get_right_image(self) source code
 
_set_right_image(self, image) source code
    Inherited from ProgressBar
 
_get_background(self) source code
 
_set_background(self, background) source code
Class Variables [hide private]
  ATTRIBUTES = ProgressBar.ATTRIBUTES+ [Attr('left'), Attr('righ...
  progress = property(_get_progress, _set_progress)
  left = property(_get_left_image, _set_left_image)
  fill = property(_get_fill_image, _set_fill_image)
  right = property(_get_right_image, _set_right_image)
    Inherited from ProgressBar
  background = property(_get_background, _set_background)
Method Details [hide private]

__init__(self, left=None, right=None, **kwargs)
(Constructor)

source code 
Overrides: ProgressBar.__init__

_get_progress(self)

source code 
Overrides: ProgressBar._get_progress

_set_progress(self, progress)

source code 
Overrides: ProgressBar._set_progress

_get_fill_image(self)

source code 
Overrides: ProgressBar._get_fill_image

_set_fill_image(self, image)

source code 
Overrides: ProgressBar._set_fill_image

Class Variable Details [hide private]

ATTRIBUTES

Value:
ProgressBar.ATTRIBUTES+ [Attr('left'), Attr('right')]