Re: NSPopUpButton with "multiple selection" state (like NSMixedState)
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