Method: Gosu::Window#hide_soft_keyboard

Defined in:
lib/gosu_android/main-window.rb

#hide_soft_keyboardObject



366
367
368
369
370
371
# File 'lib/gosu_android/main-window.rb', line 366

def hide_soft_keyboard
  context = @activity.getApplicationContext
  imm = context.getSystemService(Context::INPUT_METHOD_SERVICE)
  imm.toggleSoftInput(JavaImports::InputMethodManager::HIDE_IMPLICIT_ONLY,0)    
  @showing_keyboard = false
end