Method: Gosu::Window#show_soft_keyboard
- Defined in:
- lib/gosu_android/main-window.rb
#show_soft_keyboard ⇒ Object
TODO It would be nice that the keyboard was transparent
359 360 361 362 363 364 |
# File 'lib/gosu_android/main-window.rb', line 359 def show_soft_keyboard context = @activity.getApplicationContext imm = context.getSystemService(Context::INPUT_METHOD_SERVICE) imm.toggleSoftInput(JavaImports::InputMethodManager::SHOW_FORCED,0) @showing_keyboard = true end |