• 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: Giving a NSToolbaritem a command key...?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Giving a NSToolbaritem a command key...?


  • Subject: Re: Giving a NSToolbaritem a command key...?
  • From: Scott Anguish <email@hidden>
  • Date: Mon, 1 Mar 2004 20:21:44 -0500

On Mar 1, 2004, at 7:16 PM, Matthew Weinstein wrote:

Dear cocoa-dev,
Is there a way of attaching a command key stroke to an NSToolBarItem? I tried using menurepresentations, but no such luck.


menu representations are only used in text mode, and I'm not sure if the key equiv actually work then (never tried)

You'd probably be best to try and catch the event further up the responder chain, say either in the Window, NSDocument or a controller subclass (assuming your controller is in the responder chain)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Giving a NSToolbaritem a command key...? (From: Matthew Weinstein <email@hidden>)

  • Prev by Date: Re: Databasing and Cocoa
  • Next by Date: Re: How to obtain the processor temperature?
  • Previous by thread: Giving a NSToolbaritem a command key...?
  • Next by thread: Re: Giving a NSToolbaritem a command key...?
  • Index(es):
    • Date
    • Thread