performMnemonic:
ニーモニックを実行します
-(BOOL)performMnemonic:(NSString *)aString:
返り値
( BOOL )
YES/NO
引数
( NSString * )aString
文字列
フレームワーク
ApplicationKit
クラス
NSView
Instance Methods
使用可能
10.0
参照
- performKeyEquivalent:
- keyDown:(NSWindow)
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { [sender setTitleWithMnemonic:@"Ti&tle"]; [sender performMnemonic:@"t"]; NSLog(@"!!!"); } @end