On Sun, Aug 16, 2009 at 10:24 AM, Hagbard <[email protected]> wrote: > > Text based. I'll probably use Tkinter to do a GUI once I get the core > of the program figured out.
Using pyglet and Tkinter together might be challenging. I'm not sure if it's been done successfully, except in one case where they were used strictly sequentially (first Tkinter, then pyglet with Tkinter never used again). I'm not an expert on the issues involved, but in general it's hard to get pyglet to draw into a window it didn't make, and even if that's not needed, the main loops need to be integrated. I'd be more than happy to post the code. Is there any particular way > to do that? There doesn't seem to be a CODE tag feature for this > board. > > Or, if you like, you can see it on Daniweb's Python forum: > > http://www.daniweb.com/forums/thread209702.html Posting a link to a stable location to find it is the best way so far. (And make sure the code license is made clear in the code, or no one will be able to legally reuse it.) The need for a better way or place to post examples has been talked about, and a lot of us on this list think that's needed, but there isn't one yet (afaik). - Bruce --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
