Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0Version 17.0 (current version)Version 16.0Version 15.0Version 14.0Version 13.0Version 12.0Version 11.0Version 10.0Version 2.0

Index

On this page

KMManager.setCanAddNewKeyboard()

Summary

The setCanAddNewKeyboard() method sets whether adding a new keyboard is allowed in the keyboard picker menu.

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);

See also