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.
925 926 927 928 929 930 |
# File 'lib/minigl/forms.rb', line 925 def unfocus @anchor1 = @anchor2 = nil @cursor_visible = false @cursor_timer = 0 @focused = false end |