Returns 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.)
Original signature is '- (NSPoint)locationForSubmenu:(NSMenu *)aSubmenu'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
[ObsoleteAttribute("Deprecated in Mac OS X v10.2.")] public virtual NSPoint LocationForSubmenu( NSMenu aSubmenu )
<ObsoleteAttribute("Deprecated in Mac OS X v10.2.")> _ Public Overridable Function LocationForSubmenu ( _ aSubmenu As NSMenu _ ) As NSPoint
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.2.")] public: virtual NSPoint LocationForSubmenu( NSMenu^ aSubmenu )
Parameters
- aSubmenu (NSMenu)
- A menu object that is a submenu of the receiver.
Return Value
An NSPoint structure describing the location or (0.0, 0.0) if the submenu does not exist in the receiver.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)