Instance Method

updateWindows

Sends an update message to each onscreen window.

Declaration

- (void)updateWindows;

Discussion

This method is invoked automatically in the main event loop after each event when running in NSDefaultRunLoopMode or NSModalRunLoopMode. This method is not invoked automatically when running in NSEventTrackingRunLoopMode.

When this method begins, it posts an NSApplicationWillUpdateNotification to the default notification center. When it successfully completes, it posts an NSApplicationDidUpdateNotification.

See Also

Updating Windows

- setWindowsNeedUpdate:

Sets whether the receiver’s windows need updating when the receiver has finished processing the current event.