Home | Trees | Index | Help |
---|
Package pygsear :: Module Widget :: Class ProgressBar |
|
Widget
--+ |object
--+ | | |Sprite
--+ | | |Drawable
--+ | | |Shape
--+ | | |Rectangle
--+ | ProgressBar
VProgressBar
Method Summary | |
---|---|
__init__(self,
w,
steps,
position,
color,
width,
height,
fill,
border,
borderColor)
| |
a new object with type S, a subtype of T |
|
__repr__(self)
(inherited from Sprite )
| |
activate(self)
(inherited from Widget )
| |
add(group) add a sprite to container (inherited from Sprite )
| |
add_internal(self,
group)
(inherited from Sprite )
| |
alive() -> bool ask the life of a sprite (inherited from Sprite )
| |
Draw a border around the rectangle (inherited from Rectangle )
| |
bool |
Performs a los (line of sight) check from the center of the source to the center of the target. (inherited from Drawable )
|
Align the Drawable in its layer (inherited from Drawable )
| |
Erase sprite to background (inherited from Drawable )
| |
bool
|
return True if this sprite and other sprite overlap. (inherited from Drawable )
|
Drawable or False
|
return True if this sprite and any in list of others collide. (inherited from Drawable )
|
List
|
return True if this sprite and any in list of others collide. (inherited from Drawable )
|
deactivate(self)
(inherited from Widget )
| |
return the direction from the sprite to a point (inherited from Drawable )
| |
return the distance from the sprite to a point (inherited from Drawable )
| |
Blit image to layer (inherited from Drawable )
| |
return a copy of the sprite's position (inherited from Drawable )
| |
return size of sprite's rect. (inherited from Drawable )
| |
groups() -> list list used sprite containers (inherited from Sprite )
| |
kill() end life of sprite, remove from all groups (inherited from Sprite )
| |
modal(self)
(inherited from Widget )
| |
set position to next position on path (inherited from Drawable )
| |
nop(self,
arg)
(inherited from Widget )
| |
Move sprite. (inherited from Drawable )
| |
return True if image is on the screen or layer. (inherited from Drawable )
| |
Change the color of the shape. (inherited from Rectangle )
| |
stop moving along Path (inherited from Drawable )
| |
remove(group) remove a sprite from container (inherited from Sprite )
| |
remove_internal(self,
group)
(inherited from Sprite )
| |
reset(self)
| |
call move() continuously (inherited from Drawable )
| |
set_callback(self,
callback)
(inherited from Widget )
| |
set the color of the bar | |
set the collision pygame.Rect used for collision
checking. (inherited from Drawable )
| |
set which path to follow (inherited from Drawable )
| |
Move sprite to location. (inherited from Drawable )
| |
Move sprite to a random location on screen (inherited from Drawable )
| |
Set size of sprite's rect. (inherited from Drawable )
| |
set_steps(self,
steps)
| |
show(self)
| |
move sprite so that it does not overlap with other sprite (inherited from Drawable )
| |
step(self)
| |
clear sprite and update display (inherited from Drawable )
| |
Draw image and update display. (inherited from Drawable )
| |
start moving along Path (inherited from Drawable )
| |
unstep(self)
| |
update(self,
*args)
(inherited from Sprite )
|
Method Details |
---|
__new__(S, ...)
|
set_color(self, color)set the color of the bar |
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sun Nov 30 19:33:12 2003 | http://epydoc.sf.net |