MonobjcMonobjc Documented Class Library
ShouldCloseWindowController Method (windowController)

Gives the user an opportunity to save the document. (Available in Mac OS X v10.0 through Mac OS X v10.3. Use shouldCloseWindowController:delegate:shouldCloseSelector:contextInfo: instead.)

Original signature is '- (BOOL)shouldCloseWindowController:(NSWindowController *)windowController'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool ShouldCloseWindowController(
	NSWindowController windowController
Public Overridable Function ShouldCloseWindowController ( _
	windowController As NSWindowController _
) As Boolean
virtual bool ShouldCloseWindowController(
	NSWindowController^ windowController
windowController (NSWindowController)
Return Value

[Missing <returns> documentation for "M:Monobjc.AppKit.NSDocument.ShouldCloseWindowController(Monobjc.AppKit.NSWindowController)"]

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)