I want to run an app in fullscreen. Here is what I found so far:
if __name__ == '__main__':
lib_app = app.App()
res = player.getScreenResolution()
lib_app.run(MainDiv(), app_resolution=''+str(res.x)+'x'+str(res.y))
The size is correct, but the window is not fullscreen. Additionally the fullscreen-button is disabled. There is another function I played with: setResolution
if __name__ == '__main__':
lib_app = app.App()
res = player.getScreenResolution()
# setResolution(fullscreen, width, height, bpp) bpp=16 or 24 is valid
player.setResolution(True, int(res.x), int(res.y), 16)
lib_app.run(MainDiv())
But when I run this version the code is ignored.
How can I make it to start in fullscreen?