• 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
NSPopUpButton questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPopUpButton questions


  • Subject: NSPopUpButton questions
  • From: "email@hidden" <email@hidden>
  • Date: Sat, 5 Dec 2009 20:29:25 -0500

The Apple docs for NSPopUpButtons says to avoid accessing it's NSMenu directly because it may need to do housekeeping. I had to access it's NSMenu directly though so that I could make a separator menu item. Is this fine for this situation, or is there a better way to do this to conform to Apple's recommendation?

Also, is there a way to set a menu item to act like it's disabled, but without graying out its title and image? I'm trying to insert a "Bonjour section" and want the Bonjour menu item and image to be unselectable, but not grayed out.

Thanks!
Karl_______________________________________________

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: NSPopUpButton questions
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: -[NSCFData count]: unrecognized selector
  • Next by Date: passing nothing to method with CGPoint argument
  • Previous by thread: Re: -[NSCFData count]: unrecognized selector
  • Next by thread: Re: NSPopUpButton questions
  • Index(es):
    • Date
    • Thread