David Callanan David Callanan - 5 months ago 41
Python Question

How to hide the taskbar on pygame

I was wondering does anyone know how to hide the pygame task bar?

I really need this for my pygame program!

Thanks!

Answer

You can use pygame.NOFRAME:

screen = pygame.display.set_mode((640, 480), pygame.NOFRAME)

The documentation says:

pygame.NOFRAME display window will have no border or controls