// Options turns features on and off func (f *Field) Options(opts int, on bool) { if on { C.field_opts_on((*C.FIELD)(f), C.Field_Options(opts)) return } C.field_opts_off((*C.FIELD)(f), C.Field_Options(opts)) }
// Options turns features on and off func (f *Field) Options(opts int, on bool) { if on { C.field_opts_on(f.field, C.Field_Options(opts)) return } C.field_opts_off(f.field, C.Field_Options(opts)) }
// OptionsOff turns feature(s) off func (f *Field) SetOptionsOff(opts Char) error { err := int(C.field_opts_off((*C.FIELD)(f), C.Field_Options(opts))) if err != C.E_OK { return ncursesError(syscall.Errno(err)) } return nil }
func (field *Field) OptsOff(attr FieldOptions) bool { return isOk(C.field_opts_off((*C.FIELD)(field), (C.Field_Options)(attr))) }
func (f *Field) OptsOff(attr FieldOptions) error { return geterror(C.field_opts_off(f.field, attr.fieldOptions)) }