On 15 Jun 2013, at 19:33, Eric Smith <[email protected]> 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 protected])

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 [email protected]

Reply via email to