diff options
| author | Ox Cart | 2017-09-12 13:20:31 -0500 |
|---|---|---|
| committer | Ox Cart | 2017-09-12 13:20:31 -0500 |
| commit | 78594b1bde760699537600e0be4f046bf7f31e95 (patch) | |
| tree | beacd2ecf4f6c3e07e98f45be42403e30c599654 /example | |
| parent | e00812af2c109a6cfa4c9a4774e4f805b6119290 (diff) | |
| download | systray-78594b1bde760699537600e0be4f046bf7f31e95.tar.bz2 | |
Added separator functionality for Darwin
Diffstat (limited to 'example')
| -rw-r--r-- | example/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/example/main.go b/example/main.go index 1c4b749..f889b3c 100644 --- a/example/main.go +++ b/example/main.go @@ -44,6 +44,7 @@ func onReady() { systray.AddMenuItem("Ignored", "Ignored") mUrl := systray.AddMenuItem("Open Lantern.org", "my home") mQuit := systray.AddMenuItem("退出", "Quit the whole app") + systray.AddSeparator() mToggle := systray.AddMenuItem("Toggle", "Toggle the Quit button") shown := true for { |
