• 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: 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.


References: 
 >RE: Giving a NSToolbaritem a command key...? (From: "Jonathan E. Jackel" <email@hidden>)
 >Re: Giving a NSToolbaritem a command key...? (From: m <email@hidden>)
 >Re: Giving a NSToolbaritem a command key...? (From: Allan Odgaard <email@hidden>)

  • Prev by Date: Re: Dynamic cursor rectangles?
  • Next by Date: NSEditor, NSEditorRegistration Protocols
  • Previous by thread: Re: Giving a NSToolbaritem a command key...?
  • Next by thread: How to obtain the processor temperature?
  • Index(es):
    • Date
    • Thread