[pygame] BUG: Surface.get_abs_parent documentation

2006-07-09 Thread Alex Holkner

This sentence is incorrect:

   If this is not a subsurface then None will be returned.

self is returned if the surface is not a subsurface.

Alex.




Re: [pygame] pygame website - request for suggestions

2006-07-09 Thread James Mills
On Sat, Jul 08, 2006 at 06:52:26AM -0700, Phil Hassey wrote:
 Hey,

Hi,

  It's been one year since I launched the new pygame website.  I hope to have 
 a bit of time during the next month to do some updates to it.  So if anyone 
 has:

And a fantastic job you've done too :)

  - bug reports
  - feature requests
  - etc

Feature Request #1:
 * RSS Feeds (I'd love to be able to get a feed of the latest
   developments and additions of new pygame games)

cheers
James

-- 
--
-Problems are Solved by Method
-
- James Mills [EMAIL PROTECTED]
- HomePage: http://shortcircuit.net.au/~prologic/
- Phone: +61732166379
- Mobile: +61404270962
- Skype: therealprologic
- MSN: [EMAIL PROTECTED]
- ICQ: 9663
- IRC: irc://shortcircuit.net.au#se

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


[pygame] Re: pygame website - request for suggestions

2006-07-09 Thread Horst F. JENS
 It's been one year since I launched the new pygame website. 

It is a very fine website. I would not know what to do without it.

 - feature requests

In around two months time my pygamebook should be ready so i will ask
later for an link..

-- 
Horst F. JENS
email:[EMAIL PROTECTED] , icq:19156661
check out my Tuxfighter game at:
http://pygamebook.sf.net , download at:
http://sf.net/projects/pygamebook



Re: [pygame] pygame website - request for suggestions

2006-07-09 Thread René Dudfield

Allow comments on the projects.
+1 on RSS feeds.


On 7/8/06, Phil Hassey [EMAIL PROTECTED] wrote:

Hey,

 It's been one year since I launched the new pygame website.  I hope to have
a bit of time during the next month to do some updates to it.  So if anyone
has:

 - bug reports
 - feature requests
 - etc

 To suggest, now's the time!  If anyone makes a feature request that you
think is great, please reply to their message and say so -- the more people
want a feature the more likely I'll be to implement it.

 Thanks!
 Phil


 
Do you Yahoo!?
 Everyone is raving about the all-new Yahoo! Mail Beta.




[pygame] pygame.display.set_caption() not setting window icon

2006-07-09 Thread David Mikesell
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.


Re: [pygame] pygame.display.set_caption() not setting window icon

2006-07-09 Thread Brian Fisher

On 7/9/06, David Mikesell [EMAIL PROTECTED] wrote:

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?


I don't think set_caption is supposed to set the icon... the
icontitle is not a path to an icon, it's a title when iconified

from the pygame docs:
If the display has a window title, this function will change the name
on the window. Some systems support an alternate shorter title to be
used for minimized displays.

the sdl docs suck for this function...

I don't know what systems support that shorter title (my WinXP SP2
doesn't seem to)



__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))


looking at this code though, it only sets the icon on the task bar,
and not in the window's title bar on WinXP... which I presume is why
you were thinking you are supposed to set the icon with the
set_caption call?

In order to get the icon to take properly, you need to call set_icon
before set_mode, but you need to call it after display.init or it may
crash...

this code sets the icon in both the taskbar and window for me:
--
pygame.init()
icon = pygame.image.load(frantic.png)
pygame.display.set_icon(icon)
__screen__ = pygame.display.set_mode((800, 600))
pygame.display.set_caption(It only uses this caption title for me,
NotUsed4Me)


from the pygame docs:
Some systems do not allow the window icon to change after it has been
shown. This function can be called before pygame.display.set_mode -
initialize a window or creen for display to create the icon before the
display mode is set.

the sdl docs confirm this:
This function must be called before the first call to SDL_SetVideoMode.


Re: [pygame] BUG: Surface.get_abs_parent documentation

2006-07-09 Thread René Dudfield

Thanks!  that's fixed in svn.

Committed revision 827.


On 7/9/06, Alex Holkner [EMAIL PROTECTED] wrote:

This sentence is incorrect:

If this is not a subsurface then None will be returned.

self is returned if the surface is not a subsurface.

Alex.





Re: [pygame] BUG: Surface.convert documentation

2006-07-09 Thread René Dudfield

Thanks!  This has been fixed in svn.
Committed revision 828.


On 7/8/06, Alex Holkner [EMAIL PROTECTED] wrote:

  Surface.convert(depth, masks): return Surface

is not a valid signature; however

  Surface.convert(masks, flags=0): return Surface

is, but is not specified.

Alex.