ElectronBrowserWindow.setParentWindow method
ElectronBrowserWindow › setParentWindow
Unofficial
Sets the parent window. Passingnull will turn the current window into a top-level window. Signature:
setParentWindow(parent: ElectronBrowserWindow | null): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| parent | ElectronBrowserWindow | null | The new parent window, or null. |
Returns: void