pyunity.window.pygameWindow module

Class to create a window using Pygame.

class pyunity.window.pygameWindow.Window(config, name, resize)[source]

Bases: object

A window provider that uses PyGame.

get_keys()[source]
get_keys_down()[source]
get_keys_up()[source]
start(update_func)[source]

Start the main loop of the window.

Parameters:update_func (function) – The function that calls the OpenGL calls.