12345678910111213141516171819202122 |
- import Tkinter as tk
- import frontend
- from sccd.runtime.tkinter_eventloop import *
- import sccd.runtime.socket2event as socket2event
- from sccd_widget import SCCDWidget
- class Root(tk.Tk, SCCDWidget):
- def __init__(self):
- tk.Tk.__init__(self)
- SCCDWidget.__init__(self)
- if __name__ == '__main__':
- root = Root()
- root.withdraw()
- controller = frontend.Controller(root, TkEventLoop(root))
- socket2event.boot_translation_service(controller)
- SCCDWidget.controller = controller
- controller.start()
- root.mainloop()
|