On Nov 23, 2008, at 1:14 PM, Kyle Sluder wrote:
On Sun, Nov 23, 2008 at 4:09 PM, Steve Christensen
<[EMAIL PROTECTED]> 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 (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]