If you have an NSSegmentedControl with only one segment and a menu, the menu only pops up if you press and hold the button, otherwise it acts like a normal button. That sounds like what you want.
----- Original Message ----- From: "Eric Smith" <eric_h_sm...@mac.com> To: cocoa-dev@lists.apple.com Sent: Saturday, June 15, 2013 11:33:05 AM Subject: popup menus and toolbar buttons Anyone know how to attach a popup menu to a toolbar button, as with the 'run' button in Xcode? I want to give users a choice of action via a popup menu if they hold down one of my toobar buttons. Thanks in advance, Eric _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com