[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] pygame & win id



> > i need to get the "windows id" of a pygame window ... but xwininfo is
> > not able to find the window by the name ...
> > how can i get this "windows id" ? how pygame create tis own window ?
> 
> Newer versions of SDL have a function pygame.display.get_wm_info().
> This returns a dictionary of platform specific values about the display.
> Nearly all platforms return a "window" value you could use.
> 

great news ...
but what should i install to be able to use that :
i've got :
libsdl 1.2.7 + 1.2.8cvs20041007-3ubuntu4
pygame1.6-2ubuntu1 (python2.4)
python2.4

they are fresh ... but it seems that get_wm_info is not a recognized attribut