A method identified as deprecated has been superseded and may become unsupported in the future.
Sets the zone from which NSMenu objects should be allocated (Deprecated in Mac OS X v10.2.)
+ (void)setMenuZone:(NSZone *)zone
The memory zone to set.
NSMenu.hReturns the menu currently attached to the receiver. (Deprecated in Mac OS X v10.2.)
- (NSMenu *)attachedMenu
The menu currently attached to the receiver or nil if there’s no such object.
NSMenu.hDeprecated. (Deprecated in Mac OS X v10.2. Mac OS X does not use menu representations to draw menus.)
- (id)contextMenuRepresentation
nil.
NSMenu.hReturns a Boolean value that indicates whether the receiver is currently attached to another menu. (Deprecated in Mac OS X v10.2.)
- (BOOL)isAttached
YES if the receiver is currently attached to another menu, otherwise NO.
NSMenu.hReturns the location in screen coordinates where the given submenu is displayed when opened as a submenu of the receiver. (Deprecated in Mac OS X v10.2.)
- (NSPoint)locationForSubmenu:(NSMenu *)aSubmenu
A menu object that is a submenu of the receiver.
An NSPoint structure describing the location or (0.0, 0.0) if the submenu does not exist in the receiver.
NSMenu.hDeprecated. (Deprecated in Mac OS X v10.2. Mac OS X does not use menu representations to draw menus.)
- (id)menuRepresentation
nil.
NSMenu.hDeprecated. (Deprecated in Mac OS X v10.2. Mac OS X does not use menu representations to draw menus.)
- (void)setContextMenuRepresentation:(id)menuRep
NSMenu.hDeprecated. (Deprecated in Mac OS X v10.2. Mac OS X does not use menu representations to draw menus.)
- (void)setMenuRepresentation:(id)menuRep
NSMenu.hDeprecated. (Deprecated in Mac OS X v10.2. Mac OS X does not use menu representations to draw menus.)
- (void)setTearOffMenuRepresentation:(id)menuRep
NSMenu.hResizes the receiver to exactly fit its items. (Deprecated in Mac OS X v10.2.)
- (void)sizeToFit
NSMenu.hDeprecated. (Deprecated in Mac OS X v10.2. Mac OS X does not use menu representations to draw menus.)
- (id)tearOffMenuRepresentation
nil.
NSMenu.h© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-06-24)