5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-16 17:09:28 +08:00
wails/v2/pkg/menu
Lea Anthony f0c932713b
Support changing tray icon at runtime
Support both icon & text in tray
2020-12-24 10:05:55 +11:00
..
acelerators.go Support more accelerator keys 2020-11-29 14:18:53 +11:00
contextmenu.go Support context menu data 2020-12-18 15:50:25 +11:00
mac.go Initial support for menus 2020-11-24 19:43:25 +11:00
menu.go Updates for dynamic menus 2020-12-05 07:52:59 +11:00
menuitem.go InsertBefore/InsertAfter supported 2020-12-05 14:14:46 +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
trayoptions.go Support changing tray icon at runtime 2020-12-24 10:05:55 +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