def main():
    # Note: The order in which the splash screen is initiated and the
    # main app is instantiated is very important:
    # - windows raises an error if wx.App is called too late
    # - ubuntu does not like wx.App before the splash screen
    
    # Start the splash screen in a separate process
    
    splash = mp.Process(target=splash_show)
    splash.start()

    sys.path.insert(0, dirname(dirname(abspath(__file__))))
    from shapeout.__main__ import prepare_app
    app = prepare_app()

    # close the splash screen
    splash.terminate()
    # launch application
    app.frame.InitRun()
    app.MainLoop()
Example #2
0
def main():
    # Note: The order in which the splash screen is initiated and the
    # main app is instantiated is very important:
    # - windows raises an error if wx.App is called too late
    # - ubuntu does not like wx.App before the splash screen
    
    # Start the splash screen in a separate process
    
    splash = mp.Process(target=splash_show)
    splash.start()

    sys.path.insert(0, dirname(dirname(abspath(__file__))))
    from shapeout.__main__ import prepare_app
    app = prepare_app()

    # close the splash screen
    splash.terminate()
    # launch application
    app.frame.InitRun()
    app.MainLoop()
 def setUp(self):
     '''Create the GUI'''
     self.app = prepare_app()
     self.frame = self.app.frame
Example #4
0
 def setUp(self):
     '''Create the GUI'''
     self.app = prepare_app()
     self.frame = self.app.frame
Example #5
0
def test_final():
    from shapeout.__main__ import prepare_app
    prepare_app()