NewReturnEntry creates a new single line entry widget that executes a function when the return key is pressed
()
| 31 | // NewReturnEntry creates a new single line entry widget that executes a function when the |
| 32 | // return key is pressed |
| 33 | func NewReturnEntry() *returnEntry { |
| 34 | entry := &returnEntry{} |
| 35 | entry.ExtendBaseWidget(entry) |
| 36 | return entry |
| 37 | } |
| 38 | |
| 39 | func (e *returnEntry) TypedKey(key *fyne.KeyEvent) { |
| 40 | switch key.Name { |
no outgoing calls
no test coverage detected