showsBorderOnlyWhileMouseInside
マウスカーソルが境界内にあるときのみレシーバを表示するかを返します
解説
マウスカーソルが境界内にあるときのみレシーバを表示するかを返します。
ボタンがアクティブな時だけ、表示される。
初期設定は、NOです。
返り値
( BOOL )
YES/NO
引数
フレームワーク
ApplicationKit
クラス
NSButtonCell
Instance Methods
使用可能
10.0
参照
- setShowsBorderOnlyWhileMouseInside:
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { //bCell1はボタンセル [bCell1 setShowsBorderOnlyWhileMouseInside:YES]; if ([bCell1 showsBorderOnlyWhileMouseInside]){ NSLog(@"YES"); }else{ NSLog(@"NO"); } } @end