Answers for "how to set the icon of the window in pygame"

4

how to set the icon of the window in pygame

icon = pygame.image.load('icon.png')
pygame.display.set_icon(icon)
Posted by: Guest on February-12-2021

Code answers related to "how to set the icon of the window in pygame"

Python Answers by Framework

Browse Popular Code Answers by Language