Global Variable

NSWindowWillCloseNotification

Posted whenever an NSWindow object is about to close.

Declaration

NSNotificationName NSWindowWillCloseNotification;

Discussion

The notification object is the NSWindow object that is about to close. This notification does not contain a userInfo dictionary.

See Also

Notifications

NSWindowDidBecomeKeyNotification

Posted whenever an NSWindow object becomes the key window.

NSWindowDidBecomeMainNotification

Posted whenever an NSWindow object becomes the main window.

NSWindowDidChangeScreenNotification

Posted whenever a portion of an NSWindow object’s frame moves onto or off of a screen.

NSWindowDidChangeScreenProfileNotification

Posted whenever the display profile for the screen containing the window changes.

NSWindowDidDeminiaturizeNotification

Posted whenever an NSWindow object is deminimized.

NSWindowDidEndSheetNotification

Posted whenever an NSWindow object closes an attached sheet.

NSWindowDidEndLiveResizeNotification

Posted after the user resizes a window.

NSWindowDidExposeNotification

Posted whenever a portion of a nonretained NSWindow object is exposed, whether by being ordered in front of other windows or by other windows being removed from in front of it.

NSWindowDidMiniaturizeNotification

Posted whenever an NSWindow object is minimized.

NSWindowDidMoveNotification

Posted whenever an NSWindow object is moved.

NSWindowDidResignKeyNotification

Posted whenever an NSWindow object resigns its status as key window.

NSWindowDidResignMainNotification

Posted whenever an NSWindow object resigns its status as main window.

NSWindowDidResizeNotification

Posted whenever an NSWindow object’s size changes.

NSWindowDidUpdateNotification

Posted whenever an NSWindow object receives an update message.

NSWindowWillBeginSheetNotification

Posted whenever an NSWindow object is about to open a sheet.

NSWindowWillMiniaturizeNotification

Posted whenever an NSWindow object is about to be minimized.

NSWindowWillMoveNotification

Posted whenever an NSWindow object is about to move.

NSWindowWillStartLiveResizeNotification

Posted before the user resizes a window.

NSWindowWillEnterFullScreenNotification

Posted when the window will enter full screen mode.

NSWindowDidEnterFullScreenNotification

Posted when the window entered full screen mode.

NSWindowWillExitFullScreenNotification

Posted when the window will exit full screen mode.

NSWindowDidExitFullScreenNotification

Posted when the window did exit full screen mode.

NSWindowWillEnterVersionBrowserNotification

Posted when the window will enter version browser mode.

NSWindowDidEnterVersionBrowserNotification

Posted when the window will enter version browser mode.

NSWindowWillExitVersionBrowserNotification

Posted when the window will exit version browser mode.

NSWindowDidExitVersionBrowserNotification

Posted when the window did exit version browser mode.

NSWindowDidChangeBackingPropertiesNotification

Posted when the window backing properties change.

NSWindowDidChangeOcclusionStateNotification

Posted when the window’s occlusion state changes.