setNumericShortcut

abstract fun setNumericShortcut(numericChar: Char, numericModifiers: Int): MenuItem(source)

Change the numeric shortcut and modifiers associated with this item.

See Menu for the menu types that support shortcuts.

Return

This Item so additional setters can be called.

Parameters

numericChar

The numeric shortcut key. This is the shortcut when using a 12-key (numeric) keyboard.

numericModifiers

The modifier associated with the shortcut. It should be a combination of META_META_ON, META_CTRL_ON, META_ALT_ON, META_SHIFT_ON, META_SYM_ON, META_FUNCTION_ON.