Platforms to show: All Mac Windows Linux Cross-Platform

Back to Window class.

Window.IsMetalWindowMBS as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Window MBS Util Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether this window uses the Metal appearance.
Example
if window1.Frame = window.FrameTypeMetal then
MsgBox "Window is metal. "+str(window1.IsMetalWindowMBS)
else
MsgBox "Window is not metal. "+str(window1.IsMetalWindowMBS)
end if

Available for document windows on Mac OS X 10.2 and later, and for floating windows on Mac OS X 10.3 and later. Drawers can also be metal, but dynamically adjust their appearance based on their parent window's appearance; it is not necessary to specify this attribute for a metal drawer.

You can read the state on Mac Classic, but you can only change it on Mac Carbon.
Returns false on any error.

In Xojo 2005 and newer you need to use self. in front of the method as the propertyname alone is not accepted.
(Read and Write computed property)

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


The biggest plugin in space...