(self, state)
Set the new thread state.
        This is for display purposes only.

        Parameters:
            state (ThreadState): State of the thread.
                It can be Running, Paused or Stopped.
Set the new thread state.
        This is for display purposes only.
Set the new thread state . This is for display purposes only .
def setState(self, state):
        """Set the new thread state.
        This is for display purposes only.

        Parameters:
            state (ThreadState): State of the thread.
                It can be Running, Paused or Stopped.
        """
        self._state = state
        self.status.setText(state.name)
def setState ( self , state ) : self . _state = state self . status . setText ( state . name )