Re: Giving a NSToolbaritem a command key...?
Re: Giving a NSToolbaritem a command key...?
- Subject: Re: Giving a NSToolbaritem a command key...?
- From: Hiro Fujimoto <email@hidden>
- Date: Wed, 3 Mar 2004 09:35:34 +0900
Allan,
I'm using a little technique to support keyboard short cut of no-menu
item as below.
* Place NSButton on your window (work as first responder) and assign
short-cut you like.
* Connect the button to receiver and action that you want to invoke on
the short-cut.
* Hide the button with something (CustomView.. I use).
You can place the button outside of the window size, too.
They will respond to short-cut though invisible.
--
On 2004/03/03, at 4:42, Allan Odgaard wrote:
On 2. Mar 2004, at 16:52, m wrote:
Especially since the user can hide the toolbar.
And something I do with 90% of my windows, so please do provide those
menu shortcuts! :)
_______________________________________________
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.
------------------------------------------------------------------------
---------
hiro FUJIMOTO - developer in Japan.
_______________________________________________
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.