}
}
+/**
+ * zak_form_form_set_editable:
+ * @zakform:
+ * @editable:
+ *
+ */
+void
+zak_form_form_set_editable (ZakFormForm *zakform, gboolean editable)
+{
+ guint i;
+
+ ZakFormFormPrivate *priv;
+
+ g_return_if_fail (ZAK_FORM_IS_FORM (zakform));
+
+ priv = zak_form_form_get_instance_private (zakform);
+
+ for (i = 0; i < priv->ar_elements->len; i++)
+ {
+ ZakFormElement *element = (ZakFormElement *)g_ptr_array_index (priv->ar_elements, i);
+
+ zak_form_element_set_editable (element, editable);
+ }
+}
+
/**
* zak_form_form_is_valid:
* @zakform:
gboolean zak_form_form_is_valid (ZakFormForm *zakform);
gboolean zak_form_form_is_changed (ZakFormForm *zakform);
+void zak_form_form_set_editable (ZakFormForm *zakform, gboolean editable);
+
gboolean zak_form_form_load (ZakFormForm *zakform, ZakFormIProvider *provider);
gboolean zak_form_form_insert (ZakFormForm *zakform, ZakFormIProvider *provider);
gboolean zak_form_form_update (ZakFormForm *zakform, ZakFormIProvider *provider);