Assigns a menu to be a submenu of the menu controlled by a given menu item.
A menu object that is to be a submenu of the menu.
A menu item (that is, an object conforming to the NSMenuItem protocol) that controls
aMenu. The method sets the action of
Returns the menu currently attached to the menu.
Returns a Boolean value that indicates whether the menu is currently attached to another menu.
Returns the location in screen coordinates where the given submenu is displayed when opened as a submenu of the menu.
The parent menu that contains the menu as a submenu.
Indicates whether the menu is offscreen or attached to another menu (or if it’s the main menu).