5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 13:39:55 +08:00
wails/v2/pkg/menu
2021-01-15 11:53:55 +11:00
..
keys Refactor accelerator to keys package 2020-12-26 14:58:22 +11:00
callback.go [WIP] New menu processor 2021-01-10 21:31:13 +11:00
contextmenu.go Fixed and refactored context menu support 2021-01-13 22:51:44 +11:00
mac.go Initial support for menus 2020-11-24 19:43:25 +11:00
menu.go Add Menu.Merge() to combine 2 menus 2021-01-15 11:53:55 +11:00
menuitem.go Removal of menu IDs. WARNING: context menus are currently broken 2021-01-13 21:14:44 +11:00
menuroles.go Initial support for menus 2020-11-24 19:43:25 +11:00
README.md UTF-8 test 2020-11-27 22:22:30 +11:00
tray.go [WIP] Support tray in menu manager 2021-01-12 15:55:28 +11:00
type.go Support Hidden/Disabled. Normal->Text 2020-11-24 20:12:10 +11: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