(self, event, *data)
Send an event back to the GUI.

        Parameters:
            event (ThreadEvent): Event to send.
Send an event back to the GUI.
Send an event back to the GUI .
def send_gui_event(self, event, *data):
        """Send an event back to the GUI.

        Parameters:
            event (ThreadEvent): Event to send.
        """
        if self.gui is None:
            return
        if not isinstance(event, ThreadEvent):
            event = ThreadEvent[event]
        self.gui.receiveFromThread(event, *data)
def send_gui_event ( self , event , * data ) : if self . gui is None : return if not isinstance ( event , ThreadEvent ) : event = ThreadEvent [ event ] self . gui . receiveFromThread ( event , * data )