Re: Adding a menu form a second nib
Re: Adding a menu form a second nib
- Subject: Re: Adding a menu form a second nib
- From: Charles Jolley <email@hidden>
- Date: Sat, 22 Jun 2002 16:51:15 -0500
You can get the main menu from the NSApplication instance (NSApp):
NSMenu* mainMenu = [NSApp mainMenu] ;
You can work with this menu just like you would any other. See the docs
on NSMenu to learn how to add a submenu, etc.
-C
On Saturday, June 22, 2002, at 04:33 PM, Gordon Lister wrote:
Newbie question.
Have created a menu in a second nib with Interface Builder.
Am trying to get this to appear in the Menu Bar.
Any help welcomed.
gsl
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.