code: def on_keydown_listener(self, widget, value, keycode):
          
          if keycode=="13":
              self.hide()
              self.inputText.set_text(value)
              self.confirm_value(self)
docs: event called pressing on ENTER key.
  
          propagates the string content of the input field