Answers for "how to add icon to pygame window"

6

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 add icon to pygame window"

Python Answers by Framework

Browse Popular Code Answers by Language