Returns the menu for the specified segment
Original signature is '- (NSMenu *)menuForSegment:(NSInteger)segment'
Available in Mac OS X v10.3 and later.
Declaration Syntax
Parameters
- segment (NSInteger)
- The index of the segment whose menu you want to get. This method raises an NSRangeException if the index is out of bounds.
Return Value
The menu associated with the segment; otherwise, nil.
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)