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 |
(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 |
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 |
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 |
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 |
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 |
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 |
(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 |
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.