Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: NSPopupButton on Toolbar with Image instead?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPopupButton on Toolbar with Image instead?



I'm trying to get the XCode style contextual menu to popup when a
button is clicked on my toolbar (such as the "Build" button if you
hold it), but I can't figure out exactly how to do this!

Should I be subclassing NSPopupButton? NSButtonCell? Is there an
easier way for me to do this?

You can also use Matt Gemmell's ImagePopUpButton at: http://mattgemmell.com/source

Cheers, Patrick
_______________________________________________

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: 
 >NSPopupButton on Toolbar with Image instead? (From: "Mitchell Hashimoto" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.