Skip to content

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): void

Parameters:

Parameter Type Description
closable boolean Whether the window is closable.

Returns: void