diff options
| author | joesis | 2018-10-17 03:05:42 -0700 | 
|---|---|---|
| committer | GitHub | 2018-10-17 03:05:42 -0700 | 
| commit | 89b3d9c45cc69f861868cc7f3159eba2b4cdfb22 (patch) | |
| tree | d44d0e0f1eaba23282d2f15f602aba0941cd33b9 /systray_windows.go | |
| parent | 3fd1443dac5c8297999189fe28d5836b2b075b66 (diff) | |
| parent | 1a665b2c73c12a4cdf5402daef46b1082a822e0d (diff) | |
| download | systray-89b3d9c45cc69f861868cc7f3159eba2b4cdfb22.tar.bz2 | |
Merge pull request #65 from jefvel/menu-item-icons
Made it possible to add icons to menu items on Mac
Diffstat (limited to 'systray_windows.go')
| -rw-r--r-- | systray_windows.go | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/systray_windows.go b/systray_windows.go index 68e20cf..7a9d7a1 100644 --- a/systray_windows.go +++ b/systray_windows.go @@ -647,6 +647,11 @@ func SetTitle(title string) {  	// do nothing  } +// SetIcon sets the icon of a menu item. Only available on Mac. +func (item *MenuItem) SetIcon(iconBytes []byte) { +	// do nothing +} +  // SetTooltip sets the systray tooltip to display on mouse hover of the tray icon,  // only available on Mac and Windows.  func SetTooltip(tooltip string) { | 
