Sets the image for the specified segment.
Original signature is '- (void)setImage:(NSImage *)image forSegment:(NSInteger)segment'
Available in Mac OS X v10.3 and later.
- image (NSImage)
- The image to apply to the segment or nil if you want to clear the existing image. Images are not scaled to fit inside a segment. If the image is larger than the available space, it is clipped.
- segment (NSInteger)
- The index of the segment whose image you want to set. This method raises an NSRangeException if the index is out of bounds.
Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)