Instance Method

disableFlushWindow

Disables the flushWindow method for the window.

Declaration

- (void)disableFlushWindow;

Discussion

If the window is buffered, disabling flushWindow prevents drawing from being automatically flushed by the NSView display... methods from the window’s backing store to the screen. This method permits several views to be drawn before the results are shown to the user.

Flushing should be disabled only temporarily, while the window’s display is being updated. Each disableFlushWindow message must be paired with a subsequent enableFlushWindow message. Invocations of these methods can be nested; flushing isn’t reenabled until the last enableFlushWindow message is sent.

See Also

Managing Window Buffers

flushWindowDisabled

A Boolean value that indicates whether the window’s flushing ability is disabled.

Deprecated
- enableFlushWindow

Reenables the flushWindow method for the window after it was disabled through a previous disableFlushWindow message.

Deprecated
- flushWindow

Flushes the window’s offscreen buffer to the screen if the window is buffered and flushing is enabled.

Deprecated
- flushWindowIfNeeded

Flushes the window’s offscreen buffer to the screen if flushing is enabled and if the last flushWindow message had no effect because flushing was disabled.

Deprecated