Einhugur macOS Bridge plugin. |

# NSWindow.FromWindow Method

Creates NSWindow object from Xojo DesktopWindow.

shared FromWindow(
w as DesktopWindow) as EinhugurMacOSBridge.NSWindow

#### Parameters

w
  The Xojo DesktopWindow.

#### Returns

EinhugurMacOSBridge.NSWindow

#### Remarks

The NSWindow class will handle retaining the object and releasing once the object NSWindow class is no longer used.

#### See Also

NSWindow Class