Returns the index of the menu item in the receiver with the given submenu.
Original signature is '- (NSInteger)indexOfItemWithSubmenu:(NSMenu *)anObject'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- anObject (NSMenu)
- A menu object that is a menu item of the receiver (that is, a submenu).
Return Value
The integer index of the menu item or, if no such menu item is in the menu, –1.
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)