Answers for "pygame window icon"

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

Python Answers by Framework

Browse Popular Code Answers by Language