Re: popup menus and toolbar buttons
Re: popup menus and toolbar buttons
- Subject: Re: popup menus and toolbar buttons
- From: Lee Ann Rucker <email@hidden>
- Date: Sun, 16 Jun 2013 10:39:21 -0700 (PDT)
- Thread-topic: popup menus and toolbar buttons
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" <email@hidden>
To: email@hidden
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 (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