Hi, Thanks for your quick response on my last issue.
Now it seems I'm having an issue in interactive mode on linux. When I press escape or click the close box, the event loop is exiting, but the window continues to be displayed (though of course, it is not redrawn and does not respond to events). Can you think of how this could happen? FTR, I'm not familiar with xlib at all. When I run in non-interactive mode, the window is properly cleaned up, if only because the process dies as soon as the event loop finishes. It may also be useful to note that I'm attempting a multithreaded use of Window. I need multiple threads because I need to be able to control the plot interactively (i.e. from the python console). It's working pretty well, except for this issue, which only seems to affect XLibWindow (haven't tried Carbon yet, though). Class Hierarchy in Question: pyglet.window.Window | ManagedWindow (http://sympy.googlecode.com/svn/trunk/sympy/modules/ plotting/managed_window.py) | PlotWindow (http://sympy.googlecode.com/svn/trunk/sympy/modules/ plotting/plot_window.py) ManagedWindow has my attempt at a generic threaded event loop for pyglet windows, and PlotWindow handles the specifics of my plotting module. You would probably be most interested in ManagedWindow (which has a pretty small and hopefully easily-followed source file). If there is anything I can do or more information I can give, let me know. Thanks! Brian --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
