RE: Giving a NSToolbaritem a command key...?
RE: Giving a NSToolbaritem a command key...?
- Subject: RE: Giving a NSToolbaritem a command key...?
- From: "Jonathan E. Jackel" <email@hidden>
- Date: Tue, 2 Mar 2004 10:24:59 -0500
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.