• 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
Displaying a non-contentual menu & attachPopUpWithFrame
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Displaying a non-contentual menu & attachPopUpWithFrame


  • Subject: Displaying a non-contentual menu & attachPopUpWithFrame
  • From: Eric Gorr <email@hidden>
  • Date: Wed, 13 Jan 2010 12:38:10 -0500

In the 'Application Menu and Pop-up List Programming Topics for Cocoa' document it says:

The preferred approach for programmatically displaying a non-contextual menu is to create an NSPopUpButtonCell object, set its menu, and then call send a attachPopUpWithFrame:inView: message to the pop-up button cell.

I was wondering if anyone was aware of some sample code demonstrating this technique.

Thank you.

_______________________________________________

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

  • Follow-Ups:
    • Re: Displaying a non-contentual menu & attachPopUpWithFrame
      • From: Peter Ammon <email@hidden>
  • Prev by Date: Re: Search multiple / all properties in single NSPredicate statement
  • Next by Date: Re: CATransition done (get the key?)
  • Previous by thread: Re: Problem printing offscreen PDFViews
  • Next by thread: Re: Displaying a non-contentual menu & attachPopUpWithFrame
  • Index(es):
    • Date
    • Thread