On 29/08/2007, at 8:49 AM, [EMAIL PROTECTED] wrote:

>
> Is this possible?
>
> We have a Tkinter application and it would be great to use pyglet's
> functionality in an embedded way. Is it possible to pack (or otherwise
> attach) a pyglet window into a Tkinter frame or canvas?

It depends what functionality you're after.  You can use Tkinter to  
create the OpenGL context (for example, PyOpenGL contains a Tk  
widget, or search "tkinter opengl" for more examples), then use  
pyglet's gl, image, audio, video and font modules.

You will still need to handle events through Tkinter though, so won't  
be able to make use of anything in pyglet.window.

Alternatively, you could use one or more separate pyglet windows in  
the usual way in addition to the Tkinter GUI (which would be in its  
own window).

Cheers
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to