예제 #1
0
def start(*args):
    options = debugsession.start(*args)
    app = Application(options)
    app.console.start()
    app.main_window.show_all()
    if sys.argv[1:]:
        fn = sys.argv[-1]
        if os.path.exists(fn):
            app.launch(fn)
    gtk.main()
예제 #2
0
def start(*args):
    options = debugsession.start(*args)
    app = Application(options)
    app.console.start()
    app.main_window.show_all()
    if sys.argv[1:]:
        fn = sys.argv[-1]
        if os.path.exists(fn):
            app.launch(fn)
    gtk.main()
예제 #3
0
 def start_embedded(*args):
     options = debugsession.start(*args)
     app = Application(viewfactory, options)
     app.console.start()
     app.main_window.show_all()
     parent.app = app
     if filename:
         fn = filename
         if os.path.exists(fn):
             app.launch(fn)