[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] Centering window
> good news and bad news..
>
> the bad news, there's no way to really control the window position.
> good news, it's easy to turn off the window decorations, add the "NOFRAME"
> flag to the set_mode() call. eek, i just noticed NOFRAME was missing from
> the docs, whoops.
>
> win = pygame.display.set_mode(size, NOFRAME)
Thanks for answering so quickly!! It worked like a charm. SDL could
provide some alternative for the window position, couldn't it? :-)
But that's ok.. it's enough for now.
Thanks!
--
Gustavo Niemeyer
[ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org