Displaying a non-contentual menu & attachPopUpWithFrame
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