// SetTitle sets the systray tooltip to display on mouse hover of the tray icon, // only available on Mac and Windows. func SetTooltip(tooltip string) { t, err := syscall.UTF16PtrFromString(tooltip) if err != nil { panic(err) } C.setTooltip((*C.wchar_t)(unsafe.Pointer(t))) }
// SetTitle sets the systray tooltip to display on mouse hover of the tray icon, // only available on Mac and Windows. func SetTooltip(tooltip string) { C.setTooltip(C.CString(tooltip)) }