// SetWindow sets the window associated with the form func (f *Form) SetWindow(w *Window) error { err := int(C.set_form_win(f.form, w.win)) return ncursesError(syscall.Errno(err)) }
func (form *Form) SetWin(window *Window) bool { return isOk(C.set_form_win((*C.FORM)(form), (*C.WINDOW)(unsafe.Pointer(window)))) }
func (f *Form) SetWin(window *Window) error { return geterror(C.set_form_win(f.form, window.win)) }