ElectronBrowserWindow.setClosable method
ElectronBrowserWindow › setClosable
Unofficial
Sets whether the window can be manually closed by user. On Linux does nothing (macOS and Windows).Signature:
setClosable(closable: boolean): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| closable | boolean | Whether the window is closable. |
Returns: void