Exemple #1
0
 def nongui_do_cb(self, tup, method, *args, **kwdargs):
     task = Task.FuncTask(method, args, kwdargs, logger=self.logger)
     task.register_callback(tup[0], args=tup[1:])
     return self.nongui_do_task(task)
Exemple #2
0
 def nongui_do_future(self, future):
     task = Task.FuncTask(future.thaw, (), {}, logger=self.logger)
     return self.nongui_do_task(task)
Exemple #3
0
 def nongui_do(self, method, *args, **kwdargs):
     task = Task.FuncTask(method, args, kwdargs, logger=self.logger)
     return self.nongui_do_task(task)