UI.Keyboard
From GiderosMobile
Available since: Gideros 2023.1
Class: UI
Description
Creates a Keyboard widget. You choose one by setting it to true.
UI.Keyboard
There are three kind of keyboards:
- UI.Keyboard.NATIVE
- UI.Keyboard.PHYSICAL
- UI.Keyboard.VIRTUAL
Example
UI.Keyboard.NATIVE=true
UI.Keyboard.PHYSICAL=false
UI.Keyboard.VIRTUAL=true
local gui = UI.TextField.new("Hello Gideros UI!", nil, 480, 320)
gui:setText("reading is good for you")
gui:setPosition(50, 50)
local screen=UI.Screen.new() -- needed to add the virtual keyboard
screen:ui(gui)