runner.py 402 B

12345678910111213141516171819
  1. '''
  2. Created on 27-jul.-2014
  3. @author: Simon
  4. '''
  5. import Tkinter as tk
  6. import target_py.target as target
  7. from sccd.runtime.libs.ui import ui
  8. from sccd.runtime.statecharts_core import Event
  9. from sccd.runtime.tkinter_eventloop import *
  10. if __name__ == '__main__':
  11. ui.window = tk.Tk()
  12. ui.window.withdraw()
  13. controller = target.Controller(TkEventLoop(ui.window))
  14. controller.start()
  15. ui.window.mainloop()