示例#1
0
文件: forms.go 项目: mpatraw/gocurse
func (field *Field) SetStatus(status bool) bool {
	return isOk(C.set_field_status((*C.FIELD)(field), boolToInt(status)))
}
示例#2
0
文件: form.go 项目: zozor/gocurse
func (f *Field) SetStatus(status bool) error {
	return geterror(C.set_field_status(f.field, boolToCint(status)))
}