mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 08:25:32 +00:00
710 B
710 B
| title |
|---|
| KMManager.setCanAddNewKeyboard() |
Summary
The setCanAddNewKeyboard() method sets whether adding a new
keyboard is allowed.
Syntax
KMManager.setCanAddNewKeyboard(boolean newValue)
Parameters
newValue- If
false, adding a new keyboard is disabled.
Description
Use this method to enable or disable '+' (add new keyboard) button in the keyboard picker menu.
Examples
Example: Using setCanAddNewKeyboard()
The following script illustrate the use of setCanAddNewKeyboard():
// Disable add new keyboard button.
KMManager.setCanAddNewKeyboard(false);