• 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: NSPopUpButton with "multiple selection" state (like NSMixedState)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPopUpButton with "multiple selection" state (like NSMixedState)


  • Subject: Re: NSPopUpButton with "multiple selection" state (like NSMixedState)
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 24 Apr 2009 09:34:25 -0700


On 2009 Apr 24, at 08:43, ALEXander wrote:

I am looking for a possibility to display a NSMixedState for an NSPopUpButton (like it is used OmniGraffle):





If you pasted an image in there, it did not make it through the email server. (Interesting, because I have seen small images make it through in the past.)

Anyhow, I believe you want a popup menu which shows a constant "title" instead of showing the selected item. Such a control is actually a popup menu which has been set to "pull down"

http://developer.apple.com/documentation/Cocoa/Conceptual/MenuList/Articles/HowMenusWork.html

Read the section "Pop-Up Buttons and Pull-Down Lists".

Send -setPullsDown: to make a popp button have the pulldown behavior.

_______________________________________________

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 with "multiple selection" state (like NSMixedState)
      • From: ALEXander <email@hidden>
References: 
 >NSTableView variable row height and noteHeightOfRowsWithIndexesChanged during live resize (From: Stuart Malin <email@hidden>)
 >Re: NSTableView variable row height and noteHeightOfRowsWithIndexesChanged during live resize (From: Corbin Dunn <email@hidden>)
 >Re: NSTableView variable row height and noteHeightOfRowsWithIndexesChanged during live resize (From: Stuart Malin <email@hidden>)
 >Re: NSTableView variable row height and noteHeightOfRowsWithIndexesChanged during live resize (From: Corbin Dunn <email@hidden>)
 >Re: NSTableView variable row height and noteHeightOfRowsWithIndexesChanged during live resize (From: Stuart Malin <email@hidden>)
 >Re: NSTableView variable row height and noteHeightOfRowsWithIndexesChanged during live resize (From: Corbin Dunn <email@hidden>)
 >NSPopUpButton with "multiple selection" state (like NSMixedState) (From: ALEXander <email@hidden>)

  • Prev by Date: Re: How to clone a mutable dictionary
  • Next by Date: Re: NSPopUpButton with "multiple selection" state (like NSMixedState)
  • Previous by thread: NSPopUpButton with "multiple selection" state (like NSMixedState)
  • Next by thread: Re: NSPopUpButton with "multiple selection" state (like NSMixedState)
  • Index(es):
    • Date
    • Thread