Skip to content

ElectronBrowserWindow.setParentWindow method

ElectronBrowserWindow › setParentWindow

Unofficial

Sets the parent window. Passing null will turn the current window into a top-level window.

Signature:

setParentWindow(parent: ElectronBrowserWindow | null): void

Parameters:

Parameter Type Description
parent ElectronBrowserWindow | null The new parent window, or null.

Returns: void