Re: NSPopupUpButton not showing checked menu items
Re: NSPopupUpButton not showing checked menu items
- Subject: Re: NSPopupUpButton not showing checked menu items
- From: Steve Christensen <email@hidden>
- Date: Sun, 23 Nov 2008 15:01:32 -0800
On Nov 23, 2008, at 1:14 PM, Kyle Sluder wrote:
On Sun, Nov 23, 2008 at 4:09 PM, Steve Christensen
<email@hidden> wrote:
Yes, but I would expect that the current selection would be shown
as checked
in the pulldown menu when the button is clicked.
I don't think "selection" makes sense for pull-down items. You treat
a pull-down menu like a collection of menu items, not like a matrix of
radio buttons.
"An NSPopUpButton object controls a pop-up menu or a pull-down menu
from which a user can select an item."
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.
steve
_______________________________________________
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