// SetOptions for the form func (f *Form) SetOptions(opts int) error { _, err := C.set_form_opts(f.form, (C.Form_Options)(opts)) return ncursesError(err) }
func (form *Form) SetOpts(attr FormOptions) bool { return isOk(C.set_form_opts((*C.FORM)(form), (C.Form_Options)(attr))) }
func (f *Form) SetOpts(attr FormOptions) error { return geterror(C.set_form_opts(f.form, attr.formOptions)) }