(self)
Mark the script as stopped.
Mark the script as stopped.
Mark the script as stopped .
def stop(self):
        """Mark the script as stopped."""
        self.state = ThreadState.Stopped
        self.send_gui_event(ThreadEvent.Stopped)
def stop ( self ) : self . state = ThreadState . Stopped self . send_gui_event ( ThreadEvent . Stopped )