Re: NSPopupButton menu not showing in custom view for NSMenuItem
Re: NSPopupButton menu not showing in custom view for NSMenuItem
- Subject: Re: NSPopupButton menu not showing in custom view for NSMenuItem
- From: Graham Cox <email@hidden>
- Date: Fri, 8 Jan 2010 11:21:35 +1100
On 08/01/2010, at 5:48 AM, Eric Schlegel wrote:
>
> On Jan 7, 2010, at 7:16 AM, Daniel Meachum wrote:
>
>> I'm trying to use an NSPopupButton inside of a view nested in an NSMenuItem (development for OS X 10.6 only). The menu is created but it refuses to popup/out of the button. No Console messages are displayed or UI feedback. I originally found the problem while programmatically creating the view but also reproduced it in IB with the following steps:
>
> So you're trying to display the menu attached to the NSPopupButton, while the menu containing the NSPopupButton is open? That won't work - the Menu Manager doesn't support recursive display of menus.
Not to mention that this is a travesty of UI design. If you want a submenu of a menu item, why not just use a - uhm, submenu?
--Graham
_______________________________________________
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