Assigning shortcut keys to MenuItem

4 views
Skip to first unread message

"Ionuț G. Stan"

unread,
Jan 20, 2013, 7:34:32 PM1/20/13
to node-...@googlegroups.com
I've looked in the docs and it appears I can't assign a shortcut to a
MenuItem that will be added to a gui.Menu({ type: 'menubar' }). I'd like
to add a View > Reload menu item in a Mac OS X app and assign CMD+R as a
shortcut to it.

I was wondering maybe this is possible somehow but just not covered in
the docs or if there are plans to add support for this.

Thank you.

--
Ionuț G. Stan | http://igstan.ro

chaobin.zhang

unread,
Jan 20, 2013, 9:13:06 PM1/20/13
to node-...@googlegroups.com
Sorry!! Current it is not supported yet. However, you can take a look about CATS which use node-webkit to find a workaround by now.
The CATS in Github: https://github.com/jbaron/cats

"Ionuț G. Stan"

unread,
Jan 21, 2013, 12:42:09 PM1/21/13
to node-...@googlegroups.com
On 21/Jan/2013 04:13, chaobin.zhang wrote:
> Sorry!! Current it is not supported yet. However, you can take a look
> about CATS which use node-webkit to find a workaround by now.
> The CATS in Github: https://github.com/jbaron/cats

Thanks. I'll check it out although it's nothing critical yet. I can wait
until it gets native support.
Reply all
Reply to author
Forward
0 new messages