tabView
タブビュー項目の属するタブビュークラスを返します
解説
タブビュー項目の属するタブビュークラスを返します。
返り値
( NSTabView * )
タブビュー
引数
フレームワーク
ApplicationKit
クラス
NSTabViewItem
Instance Methods
使用可能
10.0
参照
- setView:
- view
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { //myOutletはTabView NSTabViewItem *tvItem = [[NSTabViewItem alloc] init]; [tvItem setLabel:@"newLavel"]; [myOutlet addTabViewItem:tvItem]; NSLog([[tvItem tabView] className]); } @end