Re: popup menus and toolbar buttons
Re: popup menus and toolbar buttons
- Subject: Re: popup menus and toolbar buttons
- From: Mike Abdullah <email@hidden>
- Date: Sun, 16 Jun 2013 18:14:24 +0100
On 15 Jun 2013, at 19:33, Eric Smith <email@hidden> wrote:
> 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.
I have code for doing this here:
https://bitbucket.org/mikeabdullah/bwtoolkit/src/c03ecd984756c2f27d6fe3f8d5e938f840178e9b/BWIWorkPopUpButton.h?at=default
https://bitbucket.org/mikeabdullah/bwtoolkit/src/c03ecd984756c2f27d6fe3f8d5e938f840178e9b/BWIWorkPopUpButton.m?at=default
Which you're welcome to use in your app with proper attribution.
_______________________________________________
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