mouseEntered:
マウスが追跡矩形に入った時に呼び出されます
-(void)mouseEntered:(NSEvent *)theEvent:
解説
マウスが追跡矩形に入った時に呼び出されます。
サブクラスでオーバーライドして使います。
追跡矩形を設定しておかなければいけません(NSViewの-addTrackingRect)
返り値
( void )
なし
引数
( NSEvent * )theEvent
イベント
フレームワーク
ApplicationKit
クラス
NSResponder
Instance Methods
使用可能
10.0
参照
例文
-(void)mouseEntered:(NSEvent *)event { NSLog(@"mouseEntered"); [super mouseEntered:event]; }