Run when the Enter (or Return) key is pressed while the edit box has keyboard focus

Signature:

OnEnterPressed(self)

Arguments:

  • self - Reference to the widget for which the script was run (editbox)