示例#1
0
def run(build_spec):
    app = wx.App(False)

    i18n.load(build_spec['language_dir'], build_spec['language'])
    image_repository.patch_images(build_spec['image_dir'])
    controller = Controller(build_spec)
    controller.run()
    app.MainLoop()
示例#2
0
 def _init_controller(self):
     self._controller = Controller(base_frame=self,
                                   build_spec=self.build_spec)
示例#3
0
 def _init_controller(self):
     self._controller = Controller(base_frame=self,
                                   client_app=self._client_app)