[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] pygame.display.set_icon()
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] pygame.display.set_icon()
- From: "Brian Fisher" <brian@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 24 Dec 2007 08:50:33 -0800
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Mon, 24 Dec 2007 11:50:42 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=6ptEB/WIV0NhVRw6D9eq9LQk3aKvkk+NwfozEh0DHnU=; b=i7qRzPHV1PxeAFNpvmoE84wkql5bqVHWLvHXykpIJ612tsKCnLkpmDppbGxJPtHhakAlAJHphXpz+OKchHuyzmGyCa8502ewnR20pehK+zXU0DJT9faGttje/poApsvCRgbcqjeo0AVxz/16CLyp/S0mFPp8cDYK7rFrtNT7fSI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=bSFzJQjcRFcCfarb9KyNyXXexJ0Okp51vky+NGMjkSRN5E9gd4XFgE0NqwbFkw2HgVVSxJS8M2BhsAESCMlVA8Bqp7t+WQ2+u9o/3lRYPlfxzv8X5D2M8CBpKvPOU2oKaVH1h9R68cxkuao+GV2Tt4Hpgbi8ZDRmOK37ox+GWsg=
- In-reply-to: <476F6FCE.3050008@xxxxxxxxxx>
- References: <476F6FCE.3050008@xxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
I think the issue with the game window icon not changing is that you
need to call set_icon before set_mode, as vaguely alluded to in the
docs:
http://www.pygame.org/docs/ref/display.html#pygame.display.set_icon
as far as the glitchy white static icon for alt-tab goes I have no
idea, if you send a simple test script with the icon in question to
the list, it will be much easier to see what you mean and investigate
further
On Dec 24, 2007 12:37 AM, Kris Schnee <kschnee@xxxxxxxxxx> wrote:
> I notice when calling "pygame.display.set_icon()" that this function
> changes the icon displayed in the Windows taskbar, but not on the actual
> game window. Also, when hitting Alt-Tab to switch between programs, my
> game window is represented by a glitchy version of the icon -- shot
> through with white static. How do I fix these problems?
>