Skip to content

Commit 521fc5d

Browse files
committed
Clarify docs for check functionality
1 parent d160fd3 commit 521fc5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

systray.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ func AddMenuItem(title string, tooltip string) *MenuItem {
145145
}
146146

147147
// 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.
148149
// It can be safely invoked from different goroutines.
149-
// On Windows and OSX this is the same as calling AddMenuItem
150150
func AddMenuItemCheckbox(title string, tooltip string, checked bool) *MenuItem {
151151
item := newMenuItem(title, tooltip, nil)
152152
item.isCheckable = true

0 commit comments

Comments
 (0)