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

RE: [pygame] Fullscreen on second monitor.



I’m not sure if this answers exactly what you’re asking, but I was able to run my pygame mini-projects (all in pygame 1.7.1) and move their window to my secondary monitor manually (in WinXP) and they seemed to run fine.

 

Apparently, pygame doesn’t have a built in way to move windows around the screen (see http://aspn.activestate.com/ASPN/Mail/Message/pygame-users/783606).  But, I could be wrong

 


From: owner-pygame-users@xxxxxxxx [mailto:owner-pygame-users@xxxxxxxx] On Behalf Of Mikael Moutakis
Sent: Sunday, June 04, 2006 12:03 PM
To: pygame-users@xxxxxxxx
Subject: Re: [pygame] Fullscreen on second monitor.

 

 


That's not a newbie question.
SDL automatically draws to the primary monitor, so you may find an
environment variable
where you can tell SDL to draw to the secondary monitor, but I'm 95%
sure that one doesn't exist
and SDL just always uses the primary monitor.
So it's not a limitation of pygame but rather of the underlying C library.


Thank you. Would it be possible to display a PyGame window on a second monitor if you don't use fullscreen mode?

/Mikael Moutakis