aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorOx Cart2017-09-12 13:20:31 -0500
committerOx Cart2017-09-12 13:20:31 -0500
commit78594b1bde760699537600e0be4f046bf7f31e95 (patch)
treebeacd2ecf4f6c3e07e98f45be42403e30c599654 /example
parente00812af2c109a6cfa4c9a4774e4f805b6119290 (diff)
downloadsystray-78594b1bde760699537600e0be4f046bf7f31e95.tar.bz2
Added separator functionality for Darwin
Diffstat (limited to 'example')
-rw-r--r--example/main.go1
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 {