Method: MiniGL::TextField#unfocus
- Defined in:
- lib/minigl/forms.rb
#unfocus ⇒ Object
Removes focus from the text field, so that no keyboard input will be accepted.
923 924 925 926 927 928 |
# File 'lib/minigl/forms.rb', line 923 def unfocus @anchor1 = @anchor2 = nil @cursor_visible = false @cursor_timer = 0 @focused = false end |