// SetTitle sets the systray title, only available on Mac. func SetTitle(title string) { t, err := syscall.UTF16PtrFromString(title) if err != nil { panic(err) } C.setTitle((*C.wchar_t)(unsafe.Pointer(t))) }
// SetTitle sets the systray title, only available on Mac. func SetTitle(title string) { C.setTitle(C.CString(title)) }