Kivy is a platform independent GUI tool in Python. As it can be run on Android, IOS, linux and Windows etc. It is basically used to develop the Android application, but it does not mean that it can not be used on Desktops applications.
VKeyboard is an onscreen keyboard for Kivy. Its operation is intended to be transparent to the user. Using the widget directly is NOT recommended. Read the section Request keyboard first.
Modes in Vkeyboard:
This virtual keyboard has a docked and free mode:
- Docked mode:
(VKeyboard.docked = True)Generally used when only one person is using the computer, like a tablet or personal computer etc.
- Free mode:
(VKeyboard.docked = False)Mostly for multitouch surfaces. This mode allows multiple virtual keyboards to be used on the screen.
If the docked mode changes, you need to manually call
VKeyboard.setup_mode() otherwise, the change will have no impact.
During that call, the VKeyboard, implemented on top of a Scatter, will change the behavior of the scatter and position the keyboard near the target (if target and docked mode are set).
Basic Approach: 1) import kivy 2) import kivyApp 3) import vkeyboard 4) set kivy version (optional) 5) Create the Vkeyboard class 6) Create the App class 7) return the vkeyboard class 8) Run the App
# Implementation of the Approach:
- Keyboard module in Python
- Mouse and keyboard automation using Python
- Simple Keyboard Racing with Python
- Python | Accordion in kivy
- Python | Kivy .kv File
- Python | Scatter in kivy
- Python | Animation in Kivy
- GridLayouts in Kivy | Python
- Python | Canvas in kivy
- Python | StackLayout in Kivy
- Python | Bubble in kivy
- Python | PageLayout in Kivy
- Python| AnchorLayout in Kivy
- How to make calculator using kivy | Python
- Python | TextInput in kivy using .kv file
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.