MCPcopy Create free account
hub / github.com/defold/defold / LuaHideKeyboard

Function LuaHideKeyboard

engine/gui/src/gui_script.cpp:4125–4130  ·  view source on GitHub ↗

hides on-display keyboard if available * Hides the on-display touch keyboard on the device. * * @name gui.hide_keyboard */

Source from the content-addressed store, hash-verified

4123 * @name gui.hide_keyboard
4124 */
4125 static int LuaHideKeyboard(lua_State* L)
4126 {
4127 Scene* scene = GuiScriptInstance_Check(L);
4128 dmHID::HideKeyboard(scene->m_Context->m_HidContext);
4129 return 0;
4130 }
4131
4132 /*# resets on-display keyboard if available
4133 * Resets the input context of keyboard. This will clear marked text.

Callers

nothing calls this directly

Calls 2

GuiScriptInstance_CheckFunction · 0.85
HideKeyboardFunction · 0.85

Tested by

no test coverage detected