On 4/11/08, Zachrahan <[EMAIL PROTECTED]> wrote:
> (2) Moreover, it seems that for pyglet 1.1a2, ANY import statements
> for pyglet ('import pyglet.window', or even 'import pyglet') must be
> done in the context of the thread which will be handling the windows.
> I had initially thought that the issue was that when pyglet.window is
> imported (under version 1.1a2), a "shadow window" is created,
> producing a default context that will be shared with the contexts of
> further windows unless otherwise specified. But something bad happens
> even when pyglet is imported, despite the lazy-loading stuff, so I
> really have no idea what's going on!
You can disable the shadow window with pyglet.options['shadow_window']
= False (before importing pyglet.gl or pyglet.window).
Importing just pyglet should not start the app icon -- and it doesn't,
on my macs.
Alex.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---