@decorate_set_on_listener("onkeydown", "(self,new_value)")
    def set_on_key_down_listener(self, listener, funcname):
        self.attributes[self.EVENT_ONKEYDOWN] = \
            "var params={};params['new_value']=document.getElementById('%(id)s').value;" \
            "sendCallbackParam('%(id)s','%(evt)s',params);" % {'id': id(self), 'evt': self.EVENT_ONKEYDOWN}
        self.eventManager.register_listener(self.EVENT_ONKEYDOWN, listener, funcname)
Registers the listener for the Widget.onkeydown event.
dataset/ETHPy150Open dddomodossola/remi/remi/gui.py/TextInput.set_on_key_down_listener