You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeWindowsWindowstruct {
// Select the type of translucent backdrop. Requires Windows 11 22621 or later.// Only used when window's `BackgroundType` is set to `BackgroundTypeTranslucent`.// Default: AutoBackdropTypeBackdropType// Disable the icon in the titlebar// Default: falseDisableIconbool// Theme (Dark / Light / SystemDefault)// Default: SystemDefault - The application will follow system theme changes.ThemeTheme// Specify custom colours to use for dark/light mode// Default: nilCustomTheme*ThemeSettings// Disable all window decorations in Frameless mode, which means no "Aero Shadow" and no "Rounded Corner" will be shown.// "Rounded Corners" are only available on Windows 11.// Default: falseDisableFramelessWindowDecorationsbool// WindowMask is used to set the window shape. Use a PNG with an alpha channel to create a custom shape.// Default: nilWindowMask []byte// WindowMaskDraggable is used to make the window draggable by clicking on the window mask.// Default: falseWindowMaskDraggablebool// ResizeDebounceMS is the amount of time to debounce redraws of webview2// when resizing the window// Default: 0ResizeDebounceMSuint16// WindowDidMoveDebounceMS is the amount of time to debounce the WindowDidMove event// when moving the window// Default: 0WindowDidMoveDebounceMSuint16// Event mapping for the window. This allows you to define a translation from one event to another.// Default: nilEventMappingmap[events.WindowEventType]events.WindowEventType// HiddenOnTaskbar hides the window from the taskbar// Default: falseHiddenOnTaskbarbool// EnableSwipeGestures enables swipe gestures for the window// Default: falseEnableSwipeGesturesbool// Menu is the menu to use for the window.Menu*Menu// Drag Cursor EffectsOnEnterEffectDragEffectOnOverEffectDragEffect// Permissions map for WebView2. If empty, default permissions will be granted.Permissionsmap[CoreWebView2PermissionKind]CoreWebView2PermissionState// ExStyle is the extended window styleExStyleint// GeneralAutofillEnabled enables general autofillGeneralAutofillEnabledbool// PasswordAutosaveEnabled enables autosaving passwordsPasswordAutosaveEnabledbool// EnabledFeatures and DisabledFeatures are used to enable or disable specific features in the WebView2 browser.// Available flags: https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/webview-features-flags?tabs=dotnetcsharp#available-webview2-browser-flags// WARNING: Apps in production shouldn't use WebView2 browser flags,// because these flags might be removed or altered at any time,// and aren't necessarily supported long-term.EnabledFeatures []stringDisabledFeatures []string
}
Expected behaviour
Obviously, I was expecting a prop named DisableMenu
Screenshots
No response
Attempted Fixes
No response
System Details
wails3 doctor
Wails (v3.0.0-dev) Wails Doctor
# System
┌──────────────────────────────────────────────────┐
| Name | MacOS || Version | 15.4.1 || ID | 24E263 || Branding | Sequoia || Platform | darwin || Architecture | arm64 || Apple Silicon |true|| CPU | Apple M1 Max || CPU 1 | Apple M1 Max || CPU 2 | Apple M1 Max || GPU | 32 cores, Metal Support: Metal 3 || Memory | 32 GB |
└──────────────────────────────────────────────────┘
# Build Environment
┌─────────────────────────────────────────────────────────┐
| Wails CLI | v3.0.0-dev || Go Version | go1.24.2 || Revision | 2bfbe7f902da8cce2fdc3aa4e0134546dec5cfc8 || Modified |false|| -buildmode | exe || -compiler | gc || CGO_CFLAGS ||| CGO_CPPFLAGS ||| CGO_CXXFLAGS ||| CGO_ENABLED | 1 || CGO_LDFLAGS ||| GOARCH | arm64 || GOARM64 | v8.0 || GOOS | darwin || vcs | git || vcs.modified |false|| vcs.revision | 2bfbe7f902da8cce2fdc3aa4e0134546dec5cfc8 || vcs.time | 2025-04-27T00:25:38Z |
└─────────────────────────────────────────────────────────┘
# Dependencies
┌────────────────────────────────────────────────────────────────────────┐
| Xcode cli tools | 2409 || npm | 10.9.2 ||*NSIS | Not Installed. Install with `brew install makensis`. |||
└─────────────────────── * - Optional Dependency ────────────────────────┘
# Checking for issues
SUCCESS No issues found
# Diagnosis
SUCCESS Your system is ready for Wails development!
Additional context
No response
The text was updated successfully, but these errors were encountered:
Description
In the latest commit, I noticed that the
DisableMenu
property of theWindowsWindow
structure is not available.Please look at this discussion for details: https://discord.com/channels/1042734330029547630/1363472149054226432
To Reproduce
Look into the
webview_window_options.go
Expected behaviour
Obviously, I was expecting a prop named
DisableMenu
Screenshots
No response
Attempted Fixes
No response
System Details
Additional context
No response
The text was updated successfully, but these errors were encountered: