I'm using Pygame 1.7.1 on Windows XP. set_icon sets the icon when the window is collapsed, set_caption sets the caption, and get_caption shows the correct file name of the icontitle. Anyone else having problems with this?
__screen__ = pygame.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT)) icon = load_image("frantic.png") pygame.display.set_icon(icon) pygame.display.set_caption("Frantic", get_image_file("frantic.png")) get_image_file constructs the path to the image using the app root.