On Sun, Aug 31, 2008 at 4:10 PM, simpsus_science
<[EMAIL PROTECTED]> wrote:
>
> Hallo,
>
> I would like to add a menupoint for restarting to whole app.
> Intuitively, I would think it works someting like:
>
> pyglet.app.exit()
> //Instantiate your stuff again
>
> But that doesn't work. Basically. If I don't kill everything present,
> I will get two windows (within the same pyglet app), but if I kill
> everything present, there is no way I can get pyglet to .. wake up
> again.
>
> Any suggestions?
>

Perhaps you just need to Window.close() your old window?  It's not
clear to me what you mean by "kill everything present".

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