Instance Method

postEvent:atStart:

Forwards the message to the global NSApplication object, NSApp.

Declaration

- (void)postEvent:(NSEvent *)event atStart:(BOOL)flag;

Parameters

event

The event to add to the window’s event queue.

flag

YES to place the event in the front of the queue; NO to place it in the back.

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.

- discardEventsMatchingMask:beforeEvent:

Forwards the message to the 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.