Partager via


CGEvent Classe

Définition

public sealed class CGEvent : IDisposable, ObjCRuntime.INativeObject
type CGEvent = class
    interface IDisposable
    interface INativeObject
Héritage
CGEvent
Implémente

Constructeurs

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

Propriétés

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

Méthodes

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

S’applique à