Update to Electron 18.0.0

This commit is contained in:
rafael-aero
2022-03-29 10:13:20 +02:00
parent b0262b36d0
commit de56395946
7 changed files with 27 additions and 15 deletions

View File

@@ -1919,6 +1919,19 @@ namespace ElectronNET.API
BridgeConnector.Emit("browserWindowSetAppDetails", Id, options);
}
/// <summary>
///On a Window with Window Controls Overlay already enabled, this method updates
/// the style of the title bar overlay. It should not be called unless you enabled WCO
/// when creating the window.
/// </summary>
/// <param name="options"></param>
[SupportedOSPlatform("win")]
[SupportedOSPlatform("macos")]
public void SetTitleBarOverlay(TitleBarOverlayConfig options)
{
BridgeConnector.Emit("browserWindowSetTitleBarOverlay", Id, options);
}
/// <summary>
/// Same as webContents.showDefinitionForSelection().
/// </summary>