bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #30051] NSUserKeyEquivalents default not supported


From: Doug Simons
Subject: [bug #30051] NSUserKeyEquivalents default not supported
Date: Fri, 04 Jun 2010 21:36:17 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

URL:
  <http://savannah.gnu.org/bugs/?30051>

                 Summary: NSUserKeyEquivalents default not supported
                 Project: GNUstep
            Submitted by: theeggcamefirst
            Submitted on: Fri 04 Jun 2010 09:36:17 PM GMT
                Category: Gui/AppKit
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Although this default key is not officially documented by Apple, it is a
fairly well-known and useful mechanism for allowing a user to assign key
equivalents to menu items.

The value of this default is a dictionary, with keys which are titles of menu
items, and values which are strings of the form "@^X" (for Command-Control-X).
Symbols for modifier keys include "@" for Command, "~" for Option, "$" for
Shift, and "^" for Control. 

I'm working on a basic implementation of this which I'll check in shortly.
NSMenuItem also has some minimal support for a similar default called
NSControlKeys which I'll leave in for anyone who may be using it. It would be
possible to combine the two (as alternate names for the same functionality)
although NSUserKeyEquivalents values may begin with the modifier symbols,
which NSControlKeys don't support.

Also NSControlKeys support is disabled by default, and is only available at
the global domain. I'm not sure what the intent is here, so I decided to leave
it as a separate mechanism, but if others who are familiar with the history
think it should be rolled together now, let me know.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30051>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]