• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: popup menus and toolbar buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: popup menus and toolbar buttons
      • From: Mike Abdullah <email@hidden>
References: 
 >popup menus and toolbar buttons (From: Eric Smith <email@hidden>)

  • Prev by Date: Re: popup menus and toolbar buttons
  • Next by Date: Re: popup menus and toolbar buttons
  • Previous by thread: Re: popup menus and toolbar buttons
  • Next by thread: Re: popup menus and toolbar buttons
  • Index(es):
    • Date
    • Thread