mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
* feat(v3): Add UseApplicationMenu option for cross-platform menu support Add `UseApplicationMenu` option to `WebviewWindowOptions` that allows windows on Windows and Linux to inherit the application menu set via `app.Menu.Set()`. This provides a simpler cross-platform approach: - On macOS: No effect (app menu is always global) - On Windows/Linux: Window displays the application menu Benefits: - Eliminates need for platform-specific menu code - Per-window opt-in maintains backwards compatibility - Explicit window menus still take priority Updated: - webview_window_options.go: Added UseApplicationMenu bool field - webview_window_windows.go: Check UseApplicationMenu when no window menu set - webview_window_linux.go: Check UseApplicationMenu when no window menu set - examples/dialogs: Use UseApplicationMenu instead of conditional SetMenu - examples/menu: Use UseApplicationMenu instead of explicit SetMenu - docs: Updated menu and window options documentation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * docs: Remove incorrect 'Menu Options' section header --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cmd/wails3 | ||
| examples | ||
| internal | ||
| pkg | ||
| scripts | ||
| tasks | ||
| test | ||
| test-assets | ||
| tests/window-visibility-test | ||
| wep | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc.yml | ||
| ANDROID_ARCHITECTURE.md | ||
| build_ios.sh | ||
| fix-darwin-ios-constraints.sh | ||
| go.mod | ||
| go.sum | ||
| IOS_ARCHITECTURE.md | ||
| IOS_FEATURES_TODO.md | ||
| IOS_RUNTIME.md | ||
| old | ||
| README.md | ||
| release-notes.txt | ||
| release_notes.md | ||
| Taskfile.yaml | ||
| test-ios-compilation.go | ||
| test-new-ios-build.sh | ||
| TESTING.md | ||
| UNRELEASED_CHANGELOG.md | ||
| verify-ios-setup.sh | ||
v3 Alpha
Thanks for wanting to help out with testing/developing Wails v3! This guide will help you get started.
Getting Started
All the instructions for getting started are in the v3 documentation directory: mkdocs-website.
Please read the README.md file in that directory for more information.