isFloatingPanel
フローティングパネルかを返します
解説
フローティングパネルかを返します。
フローティングパネルならYESを返します。
普通のパネルならNOを返します。
初期設定はNOで、普通のパネルです。
返り値
( BOOL )
YES/NO
引数
フレームワーク
ApplicationKit
クラス
NSPanel
Instance Methods
使用可能
10.0
参照
- setFloatingPanel:
- level (NSWindow)
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { if ([myOutlet isFloatingPanel]){ NSLog(@"YES"); }else{ NSLog(@"NO"); } } @end