We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d160fd3 commit 521fc5dCopy full SHA for 521fc5d
systray.go
@@ -145,8 +145,8 @@ func AddMenuItem(title string, tooltip string) *MenuItem {
145
}
146
147
// AddMenuItemCheckbox adds a menu item with the designated title and tooltip and a checkbox for Linux.
148
+// On other platforms there will be a check indicated next to the item if `checked` is true.
149
// It can be safely invoked from different goroutines.
-// On Windows and OSX this is the same as calling AddMenuItem
150
func AddMenuItemCheckbox(title string, tooltip string, checked bool) *MenuItem {
151
item := newMenuItem(title, tooltip, nil)
152
item.isCheckable = true
0 commit comments