다음을 통해 공유


CGEvent 클래스

정의

public sealed class CGEvent : IDisposable, ObjCRuntime.INativeObject
type CGEvent = class
    interface IDisposable
    interface INativeObject
상속
CGEvent
구현

생성자

CGEvent(CGEventSource, CGEventType, CGPoint, CGMouseButton)
CGEvent(CGEventSource, CGScrollEventUnit, Int32[])
CGEvent(CGEventSource, UInt16, Boolean)
CGEvent(CGEventSource)
CGEvent(IntPtr)
CGEvent(NSData)

속성

EventType
Flags
Handle
Location
MouseEventButtonNumber
MouseEventClickState
MouseEventDeltaX
MouseEventDeltaY
MouseEventInstantMouser
MouseEventNumber
MouseEventPressure
MouseEventSubtype
Timestamp
Timestampe
UnflippedLocation

메서드

Copy()
CreateEventSource()
CreateTap(CGEventTapLocation, CGEventTapPlacement, CGEventTapOptions, CGEventMask, CGEvent+CGEventTapCallback, IntPtr)
CreateTap(IntPtr, CGEventTapLocation, CGEventTapPlacement, CGEventTapOptions, CGEventMask, CGEvent+CGEventTapCallback, IntPtr)
Dispose()
Dispose(Boolean)
Finalize()
GetEventTapList()
GetFlags(IntPtr)
GetUnicodeString()
IsTapEnabled(CFMachPort)
Post(CGEvent, CGEventTapLocation)
PostToPSN(CGEvent, IntPtr)
SetEventSource(CGEventSource)
SetUnicodeString(String)
TapDisable(CFMachPort)
TapEnable(CFMachPort)
TapPostEven(IntPtr, CGEvent)
ToData()

적용 대상