-
Notifications
You must be signed in to change notification settings - Fork 88
glgui native keypad
Matthias Görges edited this page Mar 22, 2016
·
3 revisions
glgui-native-keypad create a spacer to be filled with the operating systems native keyboard widget. It generates fake keyboard events that must be processed in the event loop. The default keypad is a full qwerty layout. If the orientation module is included it supports landscape mode.
| Parameter | Description |
|---|---|
| g | Graphical User Interface (GUI) for this widget |
| x | Lower left corner along the x-axis in pixels - Ignored |
| y | Lower left corner along the y-axis in pixels - Ignored |
| w | Width of the element in pixels - Ignored |
| h | Height of the element in pixels - Ignored |
| keypad | Optional: An alternate keypad layout to be used |
Example 1: Here is an example of a simple keypad with works on iOS and android only. For other operating systems it shows a grey box where the widget would be located and the user can use their physical keyboard instead.
(glgui-native-keypad gui 0 0 (glgui-width-get) 216)