displaying custom menu popups with any button?
displaying custom menu popups with any button?
- Subject: displaying custom menu popups with any button?
- From: "aaron smith" <email@hidden>
- Date: Wed, 24 Dec 2008 00:52:45 -0800
Hey All,
What's the trick to displaying an NSMenu associated with a left click
of a button? The NSPopup doesn't quite do it, in terms of how it looks
and how I can configure it. So I have to go this other route.
I have an NSButton with an image of a "down arrow", and when you click
it, I need it to display a popup menu. I've looked through the
NSMenu/NSControl/NSView documentation and don't see anything that
looks like it's the right thing.
Any ideas? Thanks!
_______________________________________________
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