def register_listener(self, eventname, instance, funcname):
        self.listeners[eventname] = {'instance': instance, 'funcname': funcname}
register a listener for a specific event
dataset/ETHPy150Open dddomodossola/remi/remi/gui.py/_EventManager.register_listener