Home | Trees | Index | Help |
---|
|
object
--+ |ScreenWidget
--+ | StatusBar
Method Summary | |
---|---|
__init__(self,
x,
y,
style,
percent,
anchor)
| |
Draw this widget to the screen. | |
get(self)
| |
set(self,
percent)
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Return hash(x)... | |
Return a new object with type S, a subtype of T... | |
helper for pickle | |
helper for pickle | |
Return repr(x)... | |
x.__setattr__('name', value) <==> x.name = value | |
Return str(x)... |
Instance Variable Summary | |
---|---|
layer : An integer indicating the order in which the widget should be drawn to
the screen, relative to other widgets. | |
Inherited from ScreenWidget | |
bool |
hidden : If true, then the screen widget will not be drawn. |
Class Variable Summary | |
---|---|
dict |
BORDERS = {'redgreen': 2, 'loading': 2, 'greenblue': 2, ...
|
dict |
IMAGES = {'redgreen': 'hud/statusbar0.gif', 'loading': '...
|
Method Details |
---|
__init__(self,
x,
y,
style='redgreen',
percent=100,
anchor='topleft')
|
draw(self, screen, duration)Draw this widget to the screen.
|
get(self) |
set(self, percent) |
Instance Variable Details |
---|
layerAn integer indicating the order in which the widget should be drawn to the screen, relative to other widgets. Widgets with higher layer numbers will be drawn later.
|
Class Variable Details |
---|
BORDERS
|
IMAGES
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Thu Sep 22 22:52:47 2005 | http://epydoc.sf.net |