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