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