hasTitleBar
タイトルバーを持つかを返します
解説
タイトルバーを持つかを返します。
返り値
( BOOL )
YES/NO
引数
フレームワーク
ApplicationKit
クラス
NSWindowScripting
Instance Methods
使用可能
10.0
参照
例文
#import "Controller.h" @implementation Controller - (IBAction)pushButton:(id)sender { if ([[sender window] hasTitleBar]){ NSLog(@"YES"); }else{ NSLog(@"NO"); } } @end