Re: Confusing terms - menu/menubar
Re: Confusing terms - menu/menubar
- Subject: Re: Confusing terms - menu/menubar
- From: "Daniel R. Killoran,Ph.D." <email@hidden>
- Date: Wed, 3 Jan 2007 08:47:45 -0500
On Jan 2, 2007, at 1:39 PM, mmalc crawford wrote:
On Jan 2, 2007, at 9:23 AM, Daniel R. Killoran,Ph.D. wrote:
The terminology Apple uses for menus and the menubar is confusing.
In particular, is the NSMenu object returned by the NSApplication
method mainMenu the menubar?
<http://developer.apple.com/documentation/Cocoa/Conceptual/MenuList/
Concepts/HowAppMenusWork.html>
mmalc
Thanks! This source, and the one above it, say that:
All of an application’s menus in the menu bar are owned by one
NSMenu that’s created by the application when it starts up. You can
retrieve this main menu with the NSApplication method mainMenu.
The menus in the menu bar are themselves items of another menu: the
root menu, or main menu.
So I was wrong - the menu bar IS really a menu. OK, that's what I
needed to know!
Dan Killoran
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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