MonobjcMonobjc Documented Class Library
EventWithEventRef Method (eventRef)
NamespacesMonobjc.AppKitNSEventEventWithEventRef(IntPtr)

Creates an event object that is based on a Carbon type of event.

Original signature is '+ (NSEvent *)eventWithEventRef:(const void *)eventRef'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSEvent EventWithEventRef(
	IntPtr eventRef
)
Public Shared Function EventWithEventRef ( _
	eventRef As IntPtr _
) As NSEvent
public:
static NSEvent^ EventWithEventRef(
	IntPtr eventRef
)
Parameters
eventRef (IntPtr)
The EventRef opaque type to be associated with the created NSEvent object.
Return Value
An autoreleased NSEvent object corresponding to eventRef or nil if eventRef cannot be converted into an equivalent NSEvent object.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)