setImageDimsWhenDisabled:
ボタンセルが使用不能時にタイトルと画像が薄くなるかをセットします
-(void)setImageDimsWhenDisabled:(BOOL)flag:
解説
ボタンセルが使用不能時にタイトルと画像が薄くなるかをセットします。
返り値
( void )
なし
引数
( BOOL )flag
透明かYES/NO
フレームワーク
ApplicationKit
クラス
NSButtonCell
Instance Methods
使用可能
10.0
参照
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { //bCell1はボタンセル [bCell1 setImageDimsWhenDisabled:YES]; } @end