setDoubleAction:
マトリックスにダブルクリックアクションをセットします
-(void)setDoubleAction:(SEL)aSelector:
解説
マトリックスにダブルクリックアクションをセットします。
返り値
( void )
なし
フレームワーク
ApplicationKit
クラス
NSMatrix
Instance Methods
使用可能
10.0
参照
- sendDoubleAction
- setAction:(NSControl)
-setTarget:(NSControl)
例文
#import "MyObject.h" @implementation MyObject -(void)matrixact:(id)sender { [myOutlet sendDoubleAction]; } - (IBAction)myAction:(id)sender { [myOutlet setDoubleAction:@selector(doubleAction:)]; NSLog(NSStringFromSelector([myOutlet doubleAction])); } -(void)doubleAction:(id)sender { NSLog(@"!!!"); } -(void)matbut:(id)sender { NSLog(@"matbut"); } @end