Re: A question about key equivalents for menu items

2009-01-26 Thread I. Savant
On Jan 26, 2009, at 6:19 PM, Peter Ammon wrote: No such function, unfortunately. You can roll your own with the Unicode characters for the modifier keys (0x2303, 0x2325, 0x21E7, 0x2318 for control, option, shift, and command), though there's still some special cased glyphs, like space. Th

Re: A question about key equivalents for menu items

2009-01-26 Thread Peter Ammon
On Jan 26, 2009, at 2:57 PM, Slava Pestov wrote: Hi all, Is there a nice way to get a Unicode string from a keyboard shortcut, that looks like the key equivalents in NSMenuItems, for rendering elsewhere in a GUI? Slava Hey Slava, No such function, unfortunately. You can roll your own with

A question about key equivalents for menu items

2009-01-26 Thread Slava Pestov
Hi all, Is there a nice way to get a Unicode string from a keyboard shortcut, that looks like the key equivalents in NSMenuItems, for rendering elsewhere in a GUI? Slava ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin r