runner.py 332 B

12345678910111213
  1. import Tkinter as tk
  2. import target_py.target as target
  3. from sccd.runtime.libs.ui import ui
  4. from sccd.runtime.statecharts_core import Event
  5. from sccd.runtime.tkinter_eventloop import *
  6. if __name__ == '__main__':
  7. ui.window = tk.Tk()
  8. controller = target.Controller(TkEventLoop(ui.window))
  9. controller.start()
  10. ui.window.mainloop()