Home | Trees | Index | Help |
---|
Package pygsear :: Module Screen :: Class Window |
|
Layer
--+
|
Window
Method Summary | |
---|---|
Initialize the display window. | |
Draw a border around the screen | |
Clear the screen. | |
Resize the window. | |
Set the background image | |
Change the window title | |
Update the pygame display |
Method Details |
---|
__init__(self,
size=None,
full=None)
Initialize the display window.
|
border(self, width=10, color=(255, 255, 255), left=None, right=None, top=None, bottom=None)Draw a border around the screen
|
clear(self)Clear the screen. Makes the foreground surface match the background.
|
resize(self, size)Resize the window. Changes the pygame display mode. |
set_background(self, filename=None, img=None, tilename=None, tile=None, color=None)Set the background image
|
set_title(self, title='pygsear')Change the window title |
update(self, areas=None)Update the pygame display This call will update a section (or sections) of the display screen. You must update an area of your display when you change its contents. If passed with no arguments, this will update the entire display surface. If you have many rects that need updating, it is best to combine them into a sequence and pass them all at once. This call will accept a sequence of rectstyle arguments. Any None's in the list will be ignored.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sat Dec 9 14:11:19 2006 | http://epydoc.sf.net |