• 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: Way to determine size of a menu?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Way to determine size of a menu?


  • Subject: Re: Way to determine size of a menu?
  • From: PGM <email@hidden>
  • Date: Mon, 1 Jan 2007 21:18:46 -0500


On 1-Jan-07, at 20:33 PM, Mitchell Livingston wrote:

Thanks. Right now I subclass NSButton. How would I do it with NSPopUpButton. As I understand it, that class will take the first item in the menu and display that (and not show it in the list). How can I get it to show the gear icon all the time?


NSPopUpButton will act as a pullDown button (so with the desired behaviour) when you set -setPullsDown: to YES.


http://developer.apple.com/documentation/Cocoa/Conceptual/MenuList/ Concepts/HowPullDownListsWork.html

Cheers, Patrick
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Way to determine size of a menu?
      • From: Mitchell Livingston <email@hidden>
References: 
 >Way to determine size of a menu? (From: Mitchell Livingston <email@hidden>)
 >Re: Way to determine size of a menu? (From: Mitchell Livingston <email@hidden>)

  • Prev by Date: Re: Way to determine size of a menu?
  • Next by Date: Re: Way to determine size of a menu?
  • Previous by thread: Re: Way to determine size of a menu?
  • Next by thread: Re: Way to determine size of a menu?
  • Index(es):
    • Date
    • Thread