Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] python quit


Chronological Thread 
  • From: Carson Brownlee < >
  • To:
  • Subject: [Manta] python quit
  • Date: Thu, 18 Dec 2008 15:18:09 -0700

I have a custom wxpython manta scene and am just trying to quit.  I can
close all the windows and shutdown the manta engine but the program is
still running.  sys.exit() also just stalls.  

here's my code:

    ################ Quit #################
    def MenuQuit(self, e):
        self.Close()

    ################ OnCloseWindow #################
    def OnCloseWindow(self, evt):
        self.scene.mantaApp.frame.ShutdownEngine()
        self.scene.mantaApp.frame.Destroy()
        self.Destroy()

wxManta.py doesn't seem to do anything else.  Is there something that
I'm missing that I should be closing?

thanks,
Carson




Archive powered by MHonArc 2.6.16.

Top of page