• 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: NSTextField in NSMenuItem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField in NSMenuItem


  • Subject: Re: NSTextField in NSMenuItem
  • From: Kyle Sluder <email@hidden>
  • Date: Fri, 24 Dec 2010 15:09:10 -0500

On Fri, Dec 24, 2010 at 12:49 PM, Joshua Garnham
<email@hidden> wrote:
> How can I display an editable NSTextField inside an NSMenuItem? I'm looking to
> do something similar to Spotlight.

You can't. NSMenu doesn't support the event model necessary for this.

Spotlight doesn't use a menu for this; it uses a borderless window.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSTextField in NSMenuItem (From: Joshua Garnham <email@hidden>)

  • Prev by Date: UISearchDisplayController in UIToolbar on iPad
  • Next by Date: Re: UISearchDisplayController in UIToolbar on iPad
  • Previous by thread: NSTextField in NSMenuItem
  • Next by thread: Re: NSTextField in NSMenuItem
  • Index(es):
    • Date
    • Thread