• 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: m <email@hidden>
  • Date: Tue, 2 Mar 2004 07:52:32 -0800

Especially since the user can hide the toolbar.

_murat

On Mar 2, 2004, at 7:24 AM, Jonathan E. Jackel wrote:

I thought there was a rule: thou shalt not have a toolbar item without a
corresponding menu item. JJ.



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.
_______________________________________________
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.
_______________________________________________
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: Allan Odgaard <email@hidden>
References: 
 >RE: Giving a NSToolbaritem a command key...? (From: "Jonathan E. Jackel" <email@hidden>)

  • Prev by Date: Re: Drag & Drop
  • Next by Date: NSButton darkens background when pressed
  • Previous by thread: RE: Giving a NSToolbaritem a command key...?
  • Next by thread: Re: Giving a NSToolbaritem a command key...?
  • Index(es):
    • Date
    • Thread