Package pygsear :: Module Widget
[show private | hide private]
[frames | no frames]

Module pygsear.Widget

Graphical input devices
Classes
Button  
CloseButton White square button with a black X.
Console  
Dialog  
Dialog_ColorSelector Used to choose a color interactively
Dialog_LineInput Used to get a single line of input
Dialog_OK Pop up a window to get some input.
EscCatcher  
ImageButton  
ProgressBar Percentage bar graph.
Score Keep and display a score or value.
SpriteButton Clickable button which is also a sprite.
SpriteTextButton Clickable button which is also a sprite with text printed on it.
StationaryButton Clickable button which is a sprite but does not need to move.
StationaryTextButton Clickable button which is also a sprite with text printed on it and does not need to move.
TextButton Clickable button with text printed on it.
TextInput Used to gather text input from the user.
VProgressBar  
Widget  

Variable Summary
tuple BLACK
tuple BLUE
tuple GRAY
int K_BACKSPACE
int K_DELETE
int K_DOWN
int K_ESCAPE
int K_F1
int K_LEFT
int K_PAGEDOWN
int K_PAGEUP
int K_RETURN
int K_RIGHT
int K_UP
tuple LGRAY
tuple LGREEN
int MOUSEBUTTONUP
int QUIT
tuple RED
tuple TRANSPARENT
tuple WHITE

Variable Details

BLACK

Type:
tuple
Value:
(0, 0, 0)                                                              

BLUE

Type:
tuple
Value:
(100, 100, 255)                                                        

GRAY

Type:
tuple
Value:
(95, 95, 95)                                                           

K_BACKSPACE

Type:
int
Value:
8                                                                      

K_DELETE

Type:
int
Value:
127                                                                    

K_DOWN

Type:
int
Value:
274                                                                    

K_ESCAPE

Type:
int
Value:
27                                                                     

K_F1

Type:
int
Value:
282                                                                    

K_LEFT

Type:
int
Value:
276                                                                    

K_PAGEDOWN

Type:
int
Value:
281                                                                    

K_PAGEUP

Type:
int
Value:
280                                                                    

K_RETURN

Type:
int
Value:
13                                                                     

K_RIGHT

Type:
int
Value:
275                                                                    

K_UP

Type:
int
Value:
273                                                                    

LGRAY

Type:
tuple
Value:
(195, 195, 195)                                                        

LGREEN

Type:
tuple
Value:
(125, 255, 125)                                                        

MOUSEBUTTONUP

Type:
int
Value:
6                                                                      

QUIT

Type:
int
Value:
12                                                                     

RED

Type:
tuple
Value:
(255, 0, 0)                                                            

TRANSPARENT

Type:
tuple
Value:
(0, 51, 0, 0)                                                          

WHITE

Type:
tuple
Value:
(255, 255, 255)                                                        

Generated by Epydoc 1.1 on Sun Jan 25 19:10:10 2004 http://epydoc.sf.net