// SetMax sets the maximum size of a field func (f *Field) SetMax(max int) error { err := C.set_max_field((*C.FIELD)(f), C.int(max)) return ncursesError(syscall.Errno(err)) }
func (field *Field) SetMax(max int) bool { return isOk(C.set_max_field((*C.FIELD)(field), C.int(max))) }
func (f *Field) SetMax(max int) error { return geterror(C.set_max_field(f.field, C.int(max))) }