Re: Giving a NSToolbaritem a command key...?
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.