5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-17 01:19:29 +08:00
wails/v2/pkg/menu
2021-01-12 21:20:08 +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 Partially introduce context menu changes back 2021-01-12 21:20:08 +11:00
mac.go Initial support for menus 2020-11-24 19:43:25 +11:00
menu.go Support UpdateContextMenus. Submenus are now *menu.Menu. Tidy up++ 2021-01-08 06:28:51 +11:00
menuitem.go Implemented MenuItem.Remove() to remove from the menu structures 2021-01-11 11:57:49 +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