예제 #1
0
파일: myapp.py 프로젝트: gdementen/ashiba
def main():
    with enaml.imports():
        from myapp import Main

    view = Main()
    view.show()

    app = WebApplication()
    app.start()
예제 #2
0
파일: myapp.py 프로젝트: ContinuumIO/ashiba
def main():
    with enaml.imports():
        from myapp import Main

    view = Main()
    view.show()
    
    app = WebApplication()
    app.start()
예제 #3
0
def main():
    with enaml.imports():
        from myapp import Main

    app = WebApplication()

    view = Main(message="Hello World, from Python!")
    view.show()

    # Start the application event loop
    app.start()
예제 #4
0
def main():
    with enaml.imports():
        from myapp import Main

    app = WebApplication()

    view = Main(message="Hello World, from Python!")
    view.show()

    # Start the application event loop
    app.start()