func (w *CursesWindow) Enclose(y int, x int) bool { return bool(C.wenclose(w.impl, C.int(y), C.int(x))) }
// Test whether the given coordinates are within the window or not func (w *Window) Enclose(y, x int) bool { return bool(C.wenclose(w.win, C.int(y), C.int(x))) }
func (win *Window) Enclose(y, x int) bool { if C.wenclose((*C.WINDOW)(win), C.int(y), C.int(x)) == C.FALSE { return false } return true }