5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-06 09:42:03 +08:00
wails/v2/pkg/menu
2021-04-03 16:52:54 +11:00
..
keys Support enter as alias for return 2021-04-03 16:52:54 +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 Support rich text in Tray labels 2021-03-17 23:30:08 +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 Support disabling tray menu. Fix font sizing. Tooltip in tray menu support. 2021-03-18 20:54:53 +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