From 67ea8c768e58d124e23d765f4c74905b0bfe7100 Mon Sep 17 00:00:00 2001 From: theolivenbaum Date: Fri, 10 Sep 2021 10:11:41 +0200 Subject: [PATCH] Update BrowserWindow.cs --- ElectronNET.API/BrowserWindow.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ElectronNET.API/BrowserWindow.cs b/ElectronNET.API/BrowserWindow.cs index e2fc622..fb5c1e4 100644 --- a/ElectronNET.API/BrowserWindow.cs +++ b/ElectronNET.API/BrowserWindow.cs @@ -1075,6 +1075,14 @@ namespace ElectronNET.API { BridgeConnector.Emit("browserWindowSetFullScreen", Id, flag); } + + /// + /// Sets whether the background color of the window + /// + public void SetBackgroundColor(string color) + { + BridgeConnector.Emit("browserWindowSetBackgroundColor", Id, color); + } /// /// Whether the window is in fullscreen mode.