NSEvent
レシーバーのディスプレイコンテキストを返します 解説 レシーバーのディスプレイコンテキストを返します。 返り値 ( NSGraphicsContext * ) ディスプレイ・コンテキスト 引数 フレームワーク ApplicationKit クラス NSEvent Instance Methods 使用可能 10.0…
マウスクリックが何回目かを返します 解説 マウスクリックが何回目かを返します マウスイベントでなければNSInternalInconsistencyExceptionを起こします。 返り値 ( int ) 整数値 引数 フレームワーク ApplicationKit クラス NSEvent Instance Methods 使用…
イベントのモディファイキーを除いた(シフトキーは有効)文字を返します 解説 イベントのモディファイキーを除いた(シフトキーは有効)文字を返します。 キーイベントでなければNSInternalInconsistencyExceptionを起こします。 返り値 ( NSString * ) 文…
キーイベントの文字を返します 解説 キーイベントの文字を返します。 返り値 ( NSString * ) 文字 引数 フレームワーク ApplicationKit クラス NSEvent Instance Methods 使用可能 10.0 参照 - charactersIgnoringModifiers + keyEventWithType:location:mod…
周期的なイベントを中止します 解説 周期的なイベントを中止します。 返り値 ( void ) なし 引数 フレームワーク ApplicationKit クラス NSEvent Class Methods 使用可能 10.0 参照 + startPeriodicEventsAfterDelay:withPeriod: 例文 [NSEvent stopPeriodic…
一定の時間をおいた後周期的なイベントを送信します。 +(void)startPeriodicEventsAfterDelay:(NSTimeInterval)delaySeconds: withPeriod:(NSTimeInterval)delaySeconds: 解説 一定の時間をおいた後周期的なイベントを送信します。マウスドラッグなどに使わ…
カスタムイベントを作って返します +(NSEvent *)otherEventWithType:(NSEventType)type: location:(NSPoint)location: modifierFlags:(unsigned int)flags: timestamp:(NSTimeInterval)time: windowNumber:(int)windowNum: context:(NSGraphicsContext *)con…
スクリーン座標で、現在のマウス位置を返します 解説 スクリーン座標で、現在のマウス位置を返します。 返り値 ( NSPoint ) マウス位置 引数 フレームワーク ApplicationKit クラス NSEvent Class Methods 使用可能 10.0 参照 例文 #import "MyScrollView.h"…
マウスイベントを作って返します +(NSEvent *)mouseEventWithType:(NSEventType)type: location:(NSPoint)location: modifierFlags:(unsigned int)flags: timestamp:(NSTimeInterval)time: windowNumber:(int)windowNum: context:(NSGraphicsContext *)conte…
キーイベントを作って返します +(NSEvent *)keyEventWithType:(NSEventType)type: location:(NSPoint)location: modifierFlags:(unsigned int)flags: timestamp:(NSTimeInterval)time: windowNumber:(int)windowNum: context:(NSGraphicsContext *)context: …
マウストラックイベントを作って返します +(NSEvent *)enterExitEventWithType:(NSEventType)type: location:(NSPoint)location: modifierFlags:(unsigned int)flags: timestamp:(NSTimeInterval)time: windowNumber:(int)windowNumber: context:(NSGraphics…