keyboard shortcuts - How to make electron application menu accessible on windows? -
i have app built using electron has following application menu:
'my app', 'edit', 'view', 'window', 'help'
if have voice on on, these items accessible on mac out of box via shortcut 'ctrl+option+m'. however, in windows, not accessible out of box. impossible me using keyboard.
the windows shortcut access application's menu 'alt'. when hit tab, applications give hint of letter have press next menu item. instance, 'file' menu itme can 'alt+f', view can 'alt+v' , forth. how go implementing behavior electron app?
on windows such access keys commonly referred mnemonics, can add 1 menu item inserting &
menu item label right in front of character want use access key. example if create top-level menu label of &about
you'll able access pressing alt + a
.
Comments
Post a Comment