Example #1
0
func (form *Form) OptsOn(attr FormOptions) bool {
	return isOk(C.form_opts_on((*C.FORM)(form), (C.Form_Options)(attr)))
}
Example #2
0
func (f *Form) OptsOn(attr FormOptions) error {
	return geterror(C.form_opts_on(f.form, attr.formOptions))
}