Skip to content

ElectronBrowserWindow.setAutoHideMenuBar method

ElectronBrowserWindow › setAutoHideMenuBar

Unofficial

Sets whether the window menu bar should hide itself automatically.

Signature:

setAutoHideMenuBar(hide: boolean): void

Parameters:

Parameter Type Description
hide boolean Whether to auto-hide the menu bar.

Returns: void