controlTint
タブビューの色合いを返します
解説
タブビューの色合いを返します。
【NSControlTint】
● NSDefaultControlTint 標準
● NSClearControlTint クリア
返り値
( NSControlTint )
コントロールの色合い
引数
フレームワーク
ApplicationKit
クラス
NSTabView
Instance Methods
使用可能
10.0
参照
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { //myOutletはTabView switch ([myOutlet controlTint]){ case NSDefaultControlTint: NSLog(@"NSDefaultControlTint"); break; case NSClearControlTint: NSLog(@"NSClearControlTint"); break; default: break; } } @end