• 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: j o a r <email@hidden>
  • Date: Tue, 2 Mar 2004 02:28:53 +0100

Can't do that I'm afraid. The keyboard shortcut events are not
propagated to the toolbar items, not even if they have custom views.
The idea is that the toolbar item is a convenient way to access a piece
of functionality that you also make available in your main menu, and
that's where you should assign the shortcuts.

j o a r

On 2004-03-02, at 01.16, Matthew Weinstein wrote:

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

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.


  • Follow-Ups:
    • RE: Giving a NSToolbaritem a command key...?
      • From: "Jonathan E. Jackel" <email@hidden>
References: 
 >Giving a NSToolbaritem a command key...? (From: Matthew Weinstein <email@hidden>)

  • Prev by Date: newbie - confused by copyWthZone
  • Next by Date: Re: drawing an image in an NSRect?
  • Previous by thread: Re: Giving a NSToolbaritem a command key...?
  • Next by thread: RE: Giving a NSToolbaritem a command key...?
  • Index(es):
    • Date
    • Thread