• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: add menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: add menu
  • Next by Date: NSBrowser with checkboxes?
  • Previous by thread: add menu
  • Next by thread: Re: add menu
  • Index(es):
    • Date
    • Thread