def listen(cls, event, func):
        """Add a callback for a signal against the class"""
        signal(event).connect(func, sender=cls)
def listen ( cls , event , func ) : signal ( event ) . connect ( func , sender = cls )
Add a callback for a signal against the class