Instance Method

discardEventsMatchingMask:beforeEvent:

Forwards the message to the NSApplication object, NSApp.

Declaration

- (void)discardEventsMatchingMask:(NSEventMask)mask beforeEvent:(NSEvent *)lastEvent;

Parameters

mask

The mask of the events to discard.

lastEvent

The event up to which queued events are discarded from the queue.

See Also

Handling Events

+ menuChanged:

This method does nothing; it is here for backward compatibility.

Deprecated
currentEvent

The event currently being processed by the application.

- nextEventMatchingMask:

Returns the next event matching a given mask.

- nextEventMatchingMask:untilDate:inMode:dequeue:

Forwards the message to the global NSApplication object, NSApp.

- postEvent:atStart:

Forwards the message to the global NSApplication object, NSApp.

- sendEvent:

This action method dispatches mouse and keyboard events sent to the window by the NSApplication object.

- tryToPerform:with:

Dispatches action messages with a given argument.