setImage:forSegment:
画像をセットします
-(void)setImage:(NSImage *)image: forSegment:(int)segment:
解説
画像をセットします。
返り値
( void )
なし
引数
( NSImage * )image
( int )segment
フレームワーク
ApplicationKit
クラス
NSSegmentedCell
Instance Methods
使用可能
10.3
参照
-imageForSegment:
例文
[[segmentedControl cell] setImage:[NSImage imageNamed: @"NSApplicationIcon" ] forSegment:0];