menu
メニューを返します
解説
メニューを返します。
返り値
( NSMenu * )
メニュー
引数
フレームワーク
ApplicationKit
クラス
NSResponder
Instance Methods
使用可能
10.0
参照
- setMenu:
-menuForEvent:(NSView)
+ defaultMenu (NSView)
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSLog([[myOutlet menu] description]); } @end