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