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

Re: [pygame] Problem with Pygame interface on Macs



hi,

you need to call the event loop, so the window processes messages.

eg, call at least every few seconds pygame.event.get() or wait() or pump()

cu,

On Mon, Feb 8, 2010 at 12:58 PM, John Wormell <jpwormell@xxxxxxxxx> wrote:
> Dear Pygamers,
>
> When trying to create a basic Pygame window on the terminal in Mac OS X
> 10.5.8, this crops up:
>
> Python 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32)
> [GCC 4.0.1 (Apple Inc. build 5493)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import pygame
>>>> from pygame.locals import *
>>>> pygame.init()
> (6, 0)
>>>> window = pygame.display.set_mode((500,300))
> 2010-02-08 21:31:01.274 Python[4044:613] Warning once: This application, or
> a library it uses, is using NSQuickDrawView, which has been deprecated. Apps
> should cease use of QuickDraw and move to Quartz.
>
> Upon which Pygame the application stops responding. What should I do?
>
> -- John Wormell
>