In an attempt to incorporate pyglet in a wxpython window I came up with this (see attach)
It's working more or less ok. It's only for windows and linux, since I don't have access to a Mac. It's tested with: Linux: python 2.6, pyglet 1.1.4, wxPython 2.6 and wxPython 2.8 Windows: python 2.6, pyglet 1.1.4, wxPython 2.8 Basically what I've done was subclassing wx.Window and pyglet.window.Window and do some platform specific "magic" (most grad from pyglet subversion wxtest.py). This specific "magic" is "controlled" by if's. It will probably be better to seperate them like in wxtest.py I also subclass pyglet.app.EventLoop. I'm posting here in the hope that someone with more pyglet knowledge than me can improve it - at least try to make a mac "version". Ricardo -- 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.
wxglet.tar.gz
Description: GNU Zip compressed data
