LostKeyFocus satisfies the IPanel interface and is called by gui root container when the panel loses the key focus
(evname string, ev interface{})
| 112 | // LostKeyFocus satisfies the IPanel interface and is called by gui root |
| 113 | // container when the panel loses the key focus |
| 114 | func (ed *Edit) OnFocusLost(evname string, ev interface{}) { |
| 115 | |
| 116 | ed.focus = false |
| 117 | ed.update() |
| 118 | Manager().ClearTimeout(ed.blinkID) |
| 119 | } |
| 120 | |
| 121 | // CursorPos sets the position of the cursor at the |
| 122 | // specified column if possible |
nothing calls this directly
no test coverage detected