Re: add menu
Re: add menu
- Subject: Re: add menu
- From: John Stiles <email@hidden>
- Date: Wed, 12 Dec 2007 13:10:21 -0800
I think you have to add it as a "submenu."
Claus Atzenbeck wrote:
Hi all:
I created an NSMenu including several menu items in one NIB file (not
MainMenu.nib) and would like to add it to [NSApp mainMenu]. However, I
cannot find any method which would allow me to do something like:
[[NSApp mainMenu] addMenu:theMenu
withTitle:@"New Menu"
atIndex:3];
How can I load a complete menu entry with all menu items into the main
menu?
Thanks,
/CA
_______________________________________________
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
_______________________________________________
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
References: | |
| >add menu (From: Claus Atzenbeck <email@hidden>) |