5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 00:41:59 +08:00
wails/v2/pkg/menu
lvyaoting dd4aa56310
chore: fix some comments (#3932)
Signed-off-by: lvyaoting <lvyaoting@outlook.com>
2024-12-06 14:35:46 +11:00
..
colours [chore] lint fixes 2023-11-12 12:30:49 +11:00
keys [chore] lint fixes 2023-11-12 12:30:49 +11:00
callback.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
cols.go [mac] migrated colour code 2021-10-14 20:38:11 +11:00
contextmenu.go Fixed and refactored context menu support 2021-01-13 22:51:44 +11:00
mac.go [v2] Misc template updates 2021-09-19 17:14:06 +10:00
menu.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
menuitem.go chore: fix some comments (#3932) 2024-12-06 14:35:46 +11:00
menuroles.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
README.md UTF-8 test 2020-11-27 22:22:30 +11:00
styledlabel_test.go Releasetest/release workflow (#1869) 2022-09-18 08:55:21 +10:00
styledlabel.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
tray.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
type.go Support Hidden/Disabled. Normal->Text 2020-11-24 20:12:10 +11:00
windows.go [windows] Misc updates for feature parity 2021-09-19 17:14:06 +10:00

Menus

Menu support is heavily inspired by Electron's approach.

Features

  • Supports Text, Checkbox, Radio, Submenu and Separator
  • Radio groups are defined as any number of adjacent radio items
  • UTF-8 menu labels
  • UTF-8 menu IDs