MonobjcMonobjc Documented Class Library
ApplicationShouldTerminateAfterLastWindowClosed Event

Invoked when the user closes the last window the application has open.

Original signature is '- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication'

Available in Mac OS X v10.0 and later.

Declaration Syntax
Return Value
NO if the application should not be terminated when its last window is closed; otherwise, YES to terminate the application.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)