def METHOD_NAME(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)