Düzenle

Aracılığıyla paylaş


CGEvent Class

Definition

public sealed class CGEvent : IDisposable, ObjCRuntime.INativeObject
type CGEvent = class
    interface IDisposable
    interface INativeObject
Inheritance
CGEvent
Implements

Constructors

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

Properties

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

Methods

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()

Applies to