[SDL] SDL_WINDOWID equivalent on MacOS X ?

Michael Benfield leftfist at mac.com
Sat Sep 24 04:23:46 PDT 2005

The SDL_WINDOWID thing I have no idea. Getting at the RGB data for a 
surface is easy though: lock the surface, and then access its pixels 
member, then unlock the surface when you're done. See here:


You can also get at the pixels through pygame with the get_at 
functions, or with the surfarray module.

Mike Benfield

More information about the SDL mailing list