Example #1
0
// 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))
}
Example #2
0
func (form *Form) SetSub(window *Window) bool {
	return isOk(C.set_form_sub((*C.FORM)(form), (*C.WINDOW)(unsafe.Pointer(window))))
}
Example #3
0
func (f *Form) SetSub(window *Window) error {
	return geterror(C.set_form_sub(f.form, window.win))
}