5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 22:49:31 +08:00
wails/v2/pkg/menu
Lea Anthony b84a2e5255
Windows tray menus (#2181)
* Add example

* Add windows systray

* Add gitkeep

* use windows.GUID
2022-12-06 20:55:56 +11:00
..
colours refactor: move from io/ioutil to io and os packages 2021-11-25 12:15:43 +08:00
keys Releasetest/release workflow (#1869) 2022-09-18 08:55:21 +10:00
callback.go [v2] Misc template updates 2021-09-19 17:14:06 +10: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 Feature: Add menu helpers 2022-04-09 20:36:48 +10:00
menuitem.go Windows tray menus (#2181) 2022-12-06 20:55:56 +11:00
menuroles.go [mac] menu support 2021-10-30 09:51:46 +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: remove unreachable code (#2182) 2022-12-06 08:27:48 +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
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