def resume(self):
        self._progress.show()
        self.next_button.set_enabled(False)
        self.back_button.set_enabled(False)
        self.cancel_button.set_enabled(True)
        
        if not self._use_private_message_handling:
            grt.push_status_query_handler(self.query_cancel_status)
            grt.push_message_handler(self._handle_task_output)
        self.send_info("Resuming...")

        self._tasks_held = False
        self._timer = mforms.Utilities.add_timeout(0.1, self.update_status)
예제 #2
0
    def resume(self):
        self._progress.show()
        self.next_button.set_enabled(False)
        self.back_button.set_enabled(False)
        self.cancel_button.set_enabled(True)

        if not self._use_private_message_handling:
            grt.push_status_query_handler(self.query_cancel_status)
            grt.push_message_handler(self._handle_task_output)
        self.send_info("Resuming...")

        self._tasks_held = False
        self._timer = mforms.Utilities.add_timeout(0.1, self.update_status)
 def start(self):
     self._warnings = 0
     self._errors = 0
     self._cancel_requested = False
     self._task_warnings = []
     self._task_errors = []
     self._progress_info = None
     self._currently_running_task_index = 0
     self._progress.show()
     self.next_button.set_enabled(False)
     self.back_button.set_enabled(False)
     self.cancel_button.set_enabled(True)
     
     if not self._use_private_message_handling:
         grt.push_status_query_handler(self.query_cancel_status)
         grt.push_message_handler(self._handle_task_output)
     self.send_info("Starting...")
     self._timer = mforms.Utilities.add_timeout(0.1, self.update_status)
예제 #4
0
    def start(self):
        self._warnings = 0
        self._errors = 0
        self._cancel_requested = False
        self._task_warnings = []
        self._task_errors = []
        self._progress_info = None
        self._currently_running_task_index = 0
        self._progress.show()
        self.next_button.set_enabled(False)
        self.back_button.set_enabled(False)
        self.cancel_button.set_enabled(True)

        if not self._use_private_message_handling:
            grt.push_status_query_handler(self.query_cancel_status)
            grt.push_message_handler(self._handle_task_output)
        self.send_info("Starting...")
        self._timer = mforms.Utilities.add_timeout(0.1, self.update_status)