MonobjcMonobjc Documented Class Library
NextEventMatchingMaskUntilDateInModeDequeue Method (eventMask, expirationDate, runLoopMode, dequeue)
NamespacesMonobjc.AppKitNSWindowNextEventMatchingMaskUntilDateInModeDequeue(NSEventMask, NSDate, NSString, Boolean)

Forwards the message to the global NSApplication object, NSApp.

Original signature is '- (NSEvent *)nextEventMatchingMask:(NSUInteger)eventMask untilDate:(NSDate *)expirationDate inMode:(NSString *)runLoopMode dequeue:(BOOL)dequeue'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSEvent NextEventMatchingMaskUntilDateInModeDequeue(
	NSEventMask eventMask,
	NSDate expirationDate,
	NSString runLoopMode,
	bool dequeue
)
Public Overridable Function NextEventMatchingMaskUntilDateInModeDequeue ( _
	eventMask As NSEventMask, _
	expirationDate As NSDate, _
	runLoopMode As NSString, _
	dequeue As Boolean _
) As NSEvent
public:
virtual NSEvent^ NextEventMatchingMaskUntilDateInModeDequeue(
	NSEventMask eventMask, 
	NSDate^ expirationDate, 
	NSString^ runLoopMode, 
	bool dequeue
)
Parameters
eventMask (NSEventMask)
The mask that the event to return must match.
expirationDate (NSDate)
The date until which to wait for events.
runLoopMode (NSString)
The run loop mode to use while waiting for events
dequeue (Boolean)
YES to remove the returned event from the event queue; NO to leave the returned event in the queue.
Return Value
The next event whose mask matches eventMask; nil when no matching event was found.
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)