Exemple #1
0
// 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)
}
Exemple #2
0
func (form *Form) SetOpts(attr FormOptions) bool {
	return isOk(C.set_form_opts((*C.FORM)(form), (C.Form_Options)(attr)))
}
Exemple #3
0
func (f *Form) SetOpts(attr FormOptions) error {
	return geterror(C.set_form_opts(f.form, attr.formOptions))
}