Glad to help, Took me several hours of reading pyglet's code to figure out 
how to bypass it's internal contexts. again with this setup I've attached 
pyglet to multiple contexts in the same window and even child windows in 
the same application. so long as you set the current context properly 
before every draw your good to go. Good luck with your project.

On Wednesday, September 30, 2015 at 7:13:19 AM UTC-6, dumebi bidume wrote:
>
> hello,
>
> I would like to use pyglet code within a GUI application, currently I'm 
> trying to achieve that by setting pyglet context, based on some old thread 
> about this…
> (for instance: 
> https://groups.google.com/forum/#!topic/pyglet-users/QmXU5ssY40E)
>
> I'm using pyglet 1.2 and trying to use glglue 
> <https://pypi.python.org/pypi/glglue/0.3.1> with a glut window to test 
> this but I'm not able to make it work.
>
> Is there a reasonable way to get pyglet using an already created context ?
> thanks
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to