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: Thu, 4 Jan 2007 13:01:54 -0500
So, metaphysics (AKA implementation details) aside, the +
[NSApplication mainMenu] behaves AS IF IT WERE an actual menu, the
items of which are the individual menus (Apple, Application, File,
Edit, etc) of the menu bar... is that right?
Dan Killoran
On Jan 4, 2007, at 11:09 AM, James Bucanek wrote:
Daniel R. Killoran,Ph.D. wrote on Thursday, January 4, 2007:
Then what IS the Menu Bar?
I think what Andreas is saying is that the "Menu Bar" (the actual
window attached to the top of the screen that floats above all
application windows and the desktop) is a system component which
you can't access. That component maintains the list of top-level
menu items for the current application, which you can access
indirectly via an NSMenu object obtained from +[NSApplication
mainMenu].
--
James Bucanek
_______________________________________________
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