Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSWindowControllerMBS class.

NSWindowControllerMBS.className as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 13.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The name of this NSWindowController class.

(Read only property)

NSWindowControllerMBS.classPath as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 13.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The path of this NSWindowController class.

Useful for debugging to know what super classes the window controller has.
(Read only property)

NSWindowControllerMBS.shouldCascadeWindows as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 13.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether the receiver should necessarily close the associated document when the window it manages is closed.

True if the receiver necessarily closes the associated document when the window it manages is closed, false otherwise.
If false, the document is closed only when the last remaining window of the document is closed.
The default is false.
(Read and Write property)

NSWindowControllerMBS.shouldCloseDocument as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 13.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether the receiver should necessarily close the associated document when the window it manages is closed.

True if the receiver necessarily closes the associated document when the window it manages is closed, false otherwise.
If false, the document is closed only when the last remaining window of the document is closed.
The default is false.
(Read and Write property)

NSWindowControllerMBS.window as NSWindowMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 13.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The window owned by the controller.

If the window has not yet been loaded, this method attempts to load the window's nib file using loadWindow. Before it loads the window, it invokes windowWillLoad, and if the window controller has a document, it invokes the document's corresponding method windowControllerWillLoadNib (if implemented). After loading the window, this method invokes windowDidLoad and, if there is a document, the NSDocument method windowControllerDidLoadNib (if implemented).
(Read and Write property)

NSWindowControllerMBS.windowFrameAutosaveName as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 13.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The name under which the frame rectangle of the window owned by the receiver is stored in the defaults database.

By default, name is an empty string, causing no information to be stored in the defaults database.
(Read and Write property)

NSWindowControllerMBS.windowNibName as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 13.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the name of the nib file that stores the window associated with the receiver.

(Read only property)

NSWindowControllerMBS.windowNibPath as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 13.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the full path of the nib file that stores the window associated with the receiver.

The full path of the nib file that stores the window associated with the receiver; "" if it cannot be located.
(Read only property)

The items on this page are in the following plugins: MBS MacBase Plugin.


The biggest plugin in space...