• 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
add menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

add menu


  • Subject: add menu
  • From: Claus Atzenbeck <email@hidden>
  • Date: Wed, 12 Dec 2007 16:01:10 +0100 (CET)

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

  • Follow-Ups:
    • Re: add menu
      • From: Jonathan Hess <email@hidden>
    • Re: add menu
      • From: John Stiles <email@hidden>
  • Prev by Date: Re: Who owns the field editor?
  • Next by Date: Re: add menu
  • Previous by thread: Re: Who owns the field editor?
  • Next by thread: Re: add menu
  • Index(es):
    • Date
    • Thread