David Callanan
David Callanan

Reputation: 5968

How to hide the title bar in pygame?

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

I really need this for my pygame program!

Thanks!

Upvotes: 7

Views: 8027

Answers (1)

Hannes Karppila
Hannes Karppila

Reputation: 988

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

Upvotes: 9

Related Questions