(self, command)
return False
Send a command to the thread.
        If the thread isn't running, the command will be ignored.

        Parameters:
            command (GUICommand): Command to send to thread.

        Returns:
            True if the command was sent, otherwise False.
Send a command to the thread.
        If the thread isn't running, the command will be ignored.
Send a command to the thread . If the thread isn t running the command will be ignored .
def sendToThread(self, command):
        """Send a command to the thread.
        If the thread isn't running, the command will be ignored.

        Parameters:
            command (GUICommand): Command to send to thread.

        Returns:
            True if the command was sent, otherwise False.
        """
        if self.thread() is not None:
            self.queue.append(command)
            return True
        return False
def sendToThread ( self , command ) : if self . thread ( ) is not None : self . queue . append ( command ) return True return False