[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] windows screen saver in pygame?
Syver Enstad <syver-en@online.no> writes:
> Pete Shinners <pete@shinners.org> writes:
Here's the culprit:
> > os.environ['SDL_VIDEO_DRIVER'] = 'windib'
Should be SDL_VIDEODRIVER
I found out at:
http://sdldoc.csn.ul.ie/sdlenvvars.php
>
> I can't get the windowid hack to work. pygame just puts up it's own
> window instead of the hwnd passed in. The docs state that one has to
> make a child window of the passed HWND, maybe that is what is wrong.
>
> One could perhaps make a child window with win32gui? I'll look into
> that and see what happens.
>
--
Vennlig hilsen
Syver Enstad