PygameDisplay(...) -> new PygameDisplay component
Use PygameDisplay.getDisplayService(...) in preference as it returns an existing instance, or automatically creates a new one.
Or create your own and register it with setDisplayService(...)
Keyword arguments (all optional): - width -- pixels width (default=800) - height -- pixels height (default=600) - background_colour -- (r,g,b) background colour (default=(255,255,255)) - fullscreen -- set to True to start up fullscreen, not windowed (default=False)
Warning! You should be using the inbox/outbox interface, not these methods (except construction). This documentation is designed as a roadmap as to their functionalilty for maintainers and new component developers. |