On Sun, Nov 23, 2008 at 6:01 PM, Steve Christensen <[EMAIL PROTECTED]> wrote:
> The class methods also don't make a distinction between popup and pulldown,
> so I would think that the "selection" should still be marked in the menu
> when it's visible. I'm not trying to be argumentative, just wondering if I
> have, in fact, made a good or bad assumption about behavior given how every
> other menu I've seen works. I suppose I could manually set the individual
> menu item states but that seems like work I shouldn't need to do.

I think you have made a bad assumption.  The selection bindings for
NSPopupButton consist of selectedIndex, selectedObject, selectedTag,
and selectedValue.  In order to support multiple selected items,
NSPopupButton would need a selectionIndexes binding.  I'd suggest
filing an enhancement request, describing what you want to do and
asking that the selection bindings either be documented to return the
first selected item in the case of multiple selected items, or that
NSPopupButton expose a selectionIndexes binding.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to