• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Keyboard short-cuts edit field
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keyboard short-cuts edit field


  • Subject: Re: Keyboard short-cuts edit field
  • From: Uli Kusterer <email@hidden>
  • Date: Wed, 3 May 2006 22:27:36 +0200

Am 03.05.2006 um 19:08 schrieb Eric Long:
I see in the Keyboard & Mouse prefs in the System Preferences there is a
Keyboard Shortcuts tab that supports a kind of text cell designed for
specifying a keyboard shortcut. It captures input and displays appropriate
symbols for modifiers and such. This same type of field exists in Xcode for
setting key bindings. I like the way this is done, but the specialized edit
field control is not exposed in Cocoa, so far as I can tell.


I want to implement this same functionality as a custom subclass of
NSTextField. I'm not sure what the best way to go about doing this is.

Search the list archives. The guys at Rogue Amoeba have made some very nice source code for this available, and I've posted links to the various places they had it several times in the past. I don't think it's an NSTextField subclass, but it gets the job done.


Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Keyboard short-cuts edit field (From: Eric Long <email@hidden>)

  • Prev by Date: Re: Sound Manager?
  • Next by Date: Re: Refactoring tools available for Cocoa / ObjC?
  • Previous by thread: Re: Keyboard short-cuts edit field
  • Next by thread: Problems with the Release build configuration
  • Index(es):
    • Date
    • Thread