How to hide standard Electron Menu ? #800

Open
opened 2026-01-29 16:49:02 +00:00 by claunia · 0 comments
Owner

Originally created by @ZedZipDev on GitHub (Jun 4, 2022).

Originally assigned to: @GregorBiswanger on GitHub.

How to hide the standard Menu : File, Edit, View .... ? I do in Startup:

var window = await Electron.WindowManager.CreateWindowAsync();
window.RemoveMenu(); // <-------------
window.OnClosed += () => {
Electron.App.Quit();
};

```It works but: the app starts, the menu appears(!) for 2-3 secs and then disappeared. Is it possible to hide it at all?
Originally created by @ZedZipDev on GitHub (Jun 4, 2022). Originally assigned to: @GregorBiswanger on GitHub. How to hide the standard Menu : File, Edit, View .... ? I do in Startup: ``` var window = await Electron.WindowManager.CreateWindowAsync(); window.RemoveMenu(); // <------------- window.OnClosed += () => { Electron.App.Quit(); }; ```It works but: the app starts, the menu appears(!) for 2-3 secs and then disappeared. Is it possible to hide it at all?
claunia added the bug label 2026-01-29 16:49:02 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#800