Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSWindowMBS class.

Previous items

NSWindowMBS.viewsNeedDisplay 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 any of the window's views need to be displayed.

(Read and Write property)

NSWindowMBS.Visible as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 8.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Whether the color panel is currently visible.

Setting to false calls Hide and setting to true calls show.
(Read only property)

NSWindowMBS.Width as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
Property Cocoa MBS MacBase Plugin 8.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The width of the color panel in pixel.

(Read and Write property)

NSWindowMBS.windowController as NSWindowControllerMBS

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

(Read and Write property)

NSWindowMBS.windowNumber as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Provides the window number of the receiver's window device.
Example
if TargetCocoa then
Var w as new NSWindowMBS(window1)

MsgBox str(w.windowNumber)

else
MsgBox "this sample requires Xojo Cocoa Target"
end if

(Read only property)

NSWindowMBS.worksWhenModal 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 able to receive keyboard and mouse events even when some other window is being run modally.

True if the window is able to receive keyboard and mouse events even when some other window is being run modally; otherwise, false.

The NSWindow implementation of this method returns false. Only subclasses of NSPanel should override this default.
(Read only property)

Previous items

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


The biggest plugin in space...