menuForSegment:
セグメントのメニューを返します
-(NSMenu *)menuForSegment:(int)segment:
解説
セグメントのメニューを返します。
返り値
( NSMenu * )
メニュー
引数
( int )segment
フレームワーク
ApplicationKit
クラス
NSSegmentedCell
Instance Methods
使用可能
10.3
参照
-setMenu:forSegment:
例文
NSLog([NSString stringWithFormat:@"%@",[[[segmentedControl cell ] menuForSegment:3] description]]);