NSPopUpButton submenu's
NSPopUpButton submenu's
- Subject: NSPopUpButton submenu's
- From: SRD <email@hidden>
- Date: Fri, 13 Nov 2009 21:24:39 -0600
Can anyone offer some advice on how to add submenu's on the menu of an
NSPopUpButton. I'm a bit confused as I've heard it can, and then can't
be done. And XCode has it on it's toolbar (e.g. Action -> Add -> New
Target). I just dragged an NSMenu from the palette onto my
NSPopUpButtons main menu and added items to it, and it seems to work
as expected when I click on it. But then the problem is that I don't
know how to get to the submenu from within the action. I can only seem
to get the first level menu and it's items, but nothing underneath.
Any help much appreciated.
_______________________________________________
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