Compartilhar via


CGEvent Classe

Definição

public sealed class CGEvent : IDisposable, ObjCRuntime.INativeObject
type CGEvent = class
    interface IDisposable
    interface INativeObject
Herança
CGEvent
Implementações

Construtores

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

Propriedades

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

Métodos

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

Aplica-se a