<type>string</type>
</element>
+ <element type="zak_form_element_array">
+ <name>array</name>
+ <type>string</type>
+ <!-- <signal-element-added>array_signal_element_added</signal-element-added> -->
+
+ <element type="zak_form_cgi_form_element_check">
+ <id>one</id>
+ <type>boolean</type>
+ <zak-cgi-text>One</zak-cgi-text>
+ </element>
+ <element type="zak_form_cgi_form_element_check">
+ <id>two</id>
+ <type>boolean</type>
+ <zak-cgi-text>Two</zak-cgi-text>
+ </element>
+ <element type="zak_form_cgi_form_element_check">
+ <id>three</id>
+ <type>boolean</type>
+ <zak-cgi-text>Three</zak-cgi-text>
+ </element>
+ <element type="zak_form_cgi_form_element_check">
+ <id>four</id>
+ <type>boolean</type>
+ <zak-cgi-text>Four</zak-cgi-text>
+ <default-value>TRUE</default-value>
+ </element>
+ <element type="zak_form_cgi_form_element_check">
+ <id>five</id>
+ <type>boolean</type>
+ <zak-cgi-text>Five</zak-cgi-text>
+ </element>
+ </element>
+
<element type="zak_form_cgi_form_element_submit">
<id>submit</id>
<to-load>FALSE</to-load>
{
if (zak_cgi_main_is_post (zakcgimain))
{
+ sleep(10);
/* validating the form */
zak_form_cgi_form_bind (form);
if (zak_form_form_is_valid (ZAK_FORM_FORM (form)))
}
}
+G_MODULE_EXPORT void
+array_signal_element_added (gpointer instance, GObject *element_added, gpointer user_data)
+{
+ zak_form_gtk_form_element_set_gtkbuilder ((ZakFormGtkFormElement *)element_added, builder);
+}
+
int
main (int argc, char *argv[])
{