pyui.core
index
c:\projects\pyuicvs\pyui\core.py

# PyUI
# Copyright (C) 2001-2002 Sean C. Riley

# This library is free software; you can redistribute it and/or
# modify it under the terms of version 2.1 of the GNU Lesser General Public
# License as published by the Free Software Foundation.

# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.

# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

 
Modules
            
pyui.colors
pyui.themes.comic
pyui.themes.future
pyui.themes.green
os
pyui
string
sys
time
pyui.themes.win2k
 
Functions
            
draw()
fills the background and draws the widgets.
(public)
init(w, h, renderer='p3d', fullscreen=0, title='')
Initialize pyui. Will set to fullscreen if specified. default is to run in a window.
This will return a Desktop Object.
(public)
loadPyuiImage(filename)
This loads an image file from the images directory in the pyui install.
The directory pyui/images holds general images used in pyui that are not
application specific.
quit()
Sets the running flag so that the application knows to quit.
(public)
run(callback=None)
update()
Process events from the renderer, and events posted by users or widgets.
Will return 1 if execution should continue, 0 if we should exit.
(public)
version()
return the version number of pyui
 
Data
             __file__ = r'.\pyui\core.pyc'
__name__ = 'pyui.core'
gDesktop = None
gRenderer = None
gVersion = 0.94999999999999996