func (s *Window) SetTitle(title string) { // message handling hwnd := C.HWND(unsafe.Pointer(s.GetHwnd())) C.SetWindowTextW(hwnd, (*C.WCHAR)(unsafe.Pointer(sciter.StringToWcharPtr(title)))) }
// Change the title of the window func (wi *windowInternal) setTitle(title string) { t, _ := utf16Convert(title) C.SetWindowTextW(wi.window.Handle, t) }