setDrawsCellBackground:
マトリックスのセルの背景を描画するかをセットします
-(void)setDrawsCellBackground:(BOOL)flag:
解説
マトリックスのセルの背景を描画するかをセットします。
返り値
( void )
なし
引数
( BOOL )flag
YES/NO
フレームワーク
ApplicationKit
クラス
NSMatrix
Instance Methods
使用可能
10.0
参照
-cellBackgroundColor
-setDrawsBackground:
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { [myOutlet setDrawsCellBackground:YES]; if([myOutlet drawsCellBackground]){ NSLog(@"YES"); }else{ NSLog(@"NO"); } } @end