Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSWindowMBS class.

NSWindowMBS.identifier as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A string that identifies this user interface item.
Example
Var w as new NSWindowMBS(window1)

w.identifier = "window1"
MsgBox w.identifier

It should be set to a unique value on NSViews when they are intended to be used inside a view-based NSTableView. Identifiers should be unique per-window. For programmatically created user interface items, you would typically set this value in code after creating a control but before adding it to a window. You may also want to set an identifier on a window, after creating it programmatically, to identify the window easily when it is reopened. You should not change the identifier after a control is added to a window. Identifiers beginning with an underscore are reserved for the system. In framework classes that implement this protocol, the accessor methods are not intended to be overridden.

To help avoid collision of identifiers, it is recommended that identifiers use the same prefix as is used for the framework or application. For example, identifiers for standard AppKit interface items, such as the open panel, will begin with "NS".

The slash '/', backslash '\', and colon ':' characters are reserved and should not be used in identifiers.
(Read and Write property)

NSWindowMBS.ignoresMouseEvents as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Indicates whether the receiver is transparent to mouse events.

True when the receiver is transparent to mouse events, otherwise false.
(Read and Write property)

NSWindowMBS.initialFirstResponder as NSViewMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The view that's made first responder the first time the window is placed onscreen.

(Read and Write property)

NSWindowMBS.isDocumentEdited as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Indicates whether the receiver's document has been edited.

True when the receiver's document has been edited; false otherwise.
Initially, by default, NSWindow objects are in the "not edited" state.
(Read and Write property)

NSWindowMBS.isExcludedFromWindowsMenu as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Whether the receiver's title is omitted from the application's Windows menu.

True to specify that the receiver is to be omitted from the application's Windows menu; false to specify otherwise.
(Read and Write property)

NSWindowMBS.isFlushWindowDisabled as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Indicates whether the window's flushing ability is disabled.

(Read only property)

NSWindowMBS.isKeyWindow as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Indicates whether the window is the key window for the application.

(Read only property)

Some examples using this property:

NSWindowMBS.isMainWindow as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Indicates whether the window is the application's main window.

(Read only property)

NSWindowMBS.isMiniaturized as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Whether the receiver is minimized.

A minimized window is removed from the screen and replaced by a image, icon, or button that represents it, called the counterpart.
(Read only property)

NSWindowMBS.isMovableByWindowBackground as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A Boolean value that indicates whether the receiver is movable by clicking and dragging anywhere in its background.

True when the window is movable by clicking and dragging anywhere in its background, otherwise false.

A window with a style mask of NSTexturedBackgroundWindowMask is movable by background by default. Sheets and drawers cannot be movable by window background.

Available in Mac OS X v10.2 and later.
Works in Xojo 2011r3, but not in 2011r4.
(Read and Write property)

Some examples using this property:

NSWindowMBS.isOnActiveSpace as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Indicates whether the window is on the currently active space.

For visible windows, this method indicates whether the window is currently visible on the active space. For offscreen windows, it indicates whether ordering the window onscreen would cause it to be on the active space.
Available in Mac OS X v10.6 and later.
(Read only property)

NSWindowMBS.isOneShot as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Indicates whether the window device the window manages is freed when it's removed from the screen list.

(Read and Write property)

NSWindowMBS.isOpaque as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Whether the receiver is opaque.

True when the receiver is opaque; false otherwise.
(Read and Write property)

NSWindowMBS.isSheet as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Indicates whether the window has ever run as a modal sheet.

Sheets are created using the NSPanel subclass.
Available in Mac OS X v10.1 and later.
(Read only property)

NSWindowMBS.isZoomed as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A Boolean value that indicates whether the receiver is in a zoomed state.

(Read only property)

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


The biggest plugin in space...