How to add menushortcut to menu item?

Q

How to add menushortcut to menu item?

✍: Guest

A

If you have a button instance called aboutButton, you may add menu short cut by calling aboutButton.setMnemonic('A'), so the user may be able to use Alt+A to click the button.

2012-08-17, 2072👍, 0💬