The top-level widget for an application.
App(theme=None)
- theme
an instance of a Theme, optional as it will use the default Theme class.
Basic Example
app = gui.App()
app.run(widget=widget,screen=screen)
Integrated Example
app = gui.App()
gui.init(widget=widget)
while 1:
for e in pygame.event.get():
app.event(e)
app.update(screen)