Ok, sorry for the last post, I forgot to install pyobj... You can call
me stupid.
Here is the output:
pyglet view init
pyglet view init
on_resize(width=1440, height=900)
on_show()
on_expose()
on_resize(width=1440, height=900)
on_show()
Traceback (most recent call last):
File "hello_world.py", line 61, in <module>
pyglet.app.run()
File "/Volumes/Data/Users/rougier/Downloads/pyglet/pyglet/app/
__init__.py", line 264, in run
EventLoop().run()
File "/Volumes/Data/Users/rougier/Downloads/pyglet/pyglet/app/
cocoa.py", line 73, in run
event =
NSApp.nextEventMatchingMask_untilDate_inMode_dequeue_(NSAnyEventMask,
NSDate.distantPast(), NSDefaultRunLoopMode, True)
ValueError: depythonifying 'unsigned int', got 'int' of wrong magnitude
On screen, it seems to open a fullscreen black window then exit with
the above message.
Nicolas
On 24 Sep, 2009, at 18:22 , Tristam MacDonald wrote:
> Here is an alpha release of the pyglet-cocoa backend, for testing
> purposes.
>
> I have included the entire pyglet distribution, so you should be
> able to unpack the zip file into your project directory, which will
> override the version of pyglet you have previously installed.
>
> The included version of hello_world.py demonstrates basic
> functionality, but a wider range of tests is needed.
>
> What does work:
> * windowed and fullscreen mode
> * beautiful Cocoa-based font rendering
> * mouse and keyboard events
>
> What may work:
> * multiple windows
> * fullscreen on a secondary monitor
>
> What doesn't work:
> * text input
> * various window events
>
> What I need from you:
> * confirmation that this runs out of the box on Snow Leopard,
> Leopard, and/or Tiger with PyObjC installed
> * a list of functionality which is missing
>
> Note that Cocoa will spam the console with a lot of error and
> warning messages - most of these are related to memory management,
> and can be safely ignored for the moment.
>
> --
> Tristam MacDonald
> http://swiftcoder.wordpress.com/
>
> >
> <pyglet-cocoa.zip>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---