(self, signal, event)
Connect a QT signal to an interaction event.
        
        The event parameters correspond to the signal parameters.
        
        Arguments:
          * signal: a QT signal.
          * event: an InteractionEvent string.
Connect a QT signal to an interaction event.
        
        The event parameters correspond to the signal parameters.
        
        Arguments:
          * signal: a QT signal.
          * event: an InteractionEvent string.
Connect a QT signal to an interaction event . The event parameters correspond to the signal parameters . Arguments : * signal : a QT signal . * event : an InteractionEvent string .
def connect_signal_to_event(self, signal, event):
        """Connect a QT signal to an interaction event.
        
        The event parameters correspond to the signal parameters.
        
        Arguments:
          * signal: a QT signal.
          * event: an InteractionEvent string.
        
        """
        if signal is None:
            raise Exception("The signal %s is not defined" % signal)
        slot = lambda *args, **kwargs: \
                self.process_interaction(event, args, **kwargs)
        signal.connect(slot)
def connect_signal_to_event ( self , signal , event ) : if signal is None : raise Exception ( "The signal %s is not defined" % signal ) slot = lambda * args , * * kwargs : self . process_interaction ( event , args , * * kwargs ) signal . connect ( slot )