From 60d629813c8c1718034e43c74915b95b2166c685 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Thu, 7 Oct 2010 15:39:11 +0200 Subject: [PATCH] Bugfixes. --- .gitignore | 1 + docs/reference/libgtkform-decl-list.txt | 411 ----- docs/reference/libgtkform-decl.txt | 1726 -------------------- docs/reference/libgtkform-undeclared.txt | 0 docs/reference/libgtkform-undocumented.txt | 368 ----- docs/reference/libgtkform-unused.txt | 0 docs/reference/libgtkform.args | 260 --- docs/reference/libgtkform.hierarchy | 25 - docs/reference/libgtkform.interfaces | 1 - docs/reference/libgtkform.prerequisites | 0 docs/reference/libgtkform.signals | 0 src/fieldboolean.c | 8 +- src/fieldtext.c | 2 +- src/form.c | 5 +- 14 files changed, 13 insertions(+), 2794 deletions(-) delete mode 100644 docs/reference/libgtkform-decl-list.txt delete mode 100644 docs/reference/libgtkform-decl.txt delete mode 100644 docs/reference/libgtkform-undeclared.txt delete mode 100644 docs/reference/libgtkform-undocumented.txt delete mode 100644 docs/reference/libgtkform-unused.txt delete mode 100644 docs/reference/libgtkform.args delete mode 100644 docs/reference/libgtkform.hierarchy delete mode 100644 docs/reference/libgtkform.interfaces delete mode 100644 docs/reference/libgtkform.prerequisites delete mode 100644 docs/reference/libgtkform.signals diff --git a/.gitignore b/.gitignore index cd9f704..fd3de5a 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ *.sed *.sin *.header +*.exe .libs .deps ABOUT-NLS diff --git a/docs/reference/libgtkform-decl-list.txt b/docs/reference/libgtkform-decl-list.txt deleted file mode 100644 index 2aa7406..0000000 --- a/docs/reference/libgtkform-decl-list.txt +++ /dev/null @@ -1,411 +0,0 @@ -
-fieldfloat -GtkFormFieldFloat -TYPE_GTK_FORM_FIELD_FLOAT -GTK_FORM_FIELD_FLOAT -GTK_FORM_FIELD_FLOAT_CLASS -IS_GTK_FORM_FIELD_FLOAT -IS_GTK_FORM_FIELD_FLOAT_CLASS -GTK_FORM_FIELD_FLOAT_GET_CLASS -GtkFormFieldFloat -GtkFormFieldFloatClass -gtk_form_field_float_get_type -gtk_form_field_float_new -gtk_form_field_float_get_value_stringify -gtk_form_field_float_get_value -gtk_form_field_float_get_value_sql -gtk_form_field_float_clear -gtk_form_field_float_is_empty -gtk_form_field_float_is_changed -gtk_form_field_float_set_as_origin -gtk_form_field_float_set_from_datamodel -gtk_form_field_float_set_from_hashtable -
- -
-form -GtkForm -TYPE_GTK_FORM -GTK_FORM -GTK_FORM_CLASS -IS_GTK_FORM -IS_GTK_FORM_CLASS -GTK_FORM_GET_CLASS -GtkForm -GtkFormClass -gtk_form_get_type -gtk_form_new -gtk_form_new_from_xml -gtk_form_new_from_file -gtk_form_load_from_xml -gtk_form_load_from_file -gtk_form_get_gtkbuilder -gtk_form_get_table -gtk_form_set_table -gtk_form_get_key -gtk_form_set_key -gtk_form_add_field -gtk_form_remove_field -gtk_form_add_fields -gtk_form_get_form_field_from_name -gtk_form_get_form_widget_from_name -gtk_form_get_widget_from_form_field_name -gtk_form_get_widget_from_form_widget_name -gtk_form_get_form_field_from_widget -gtk_form_get_form_widget_from_widget -gtk_form_get_widgets -gtk_form_get_objects_by_name -gtk_form_clear -gtk_form_check -gtk_form_is_changed -gtk_form_set_as_origin -gtk_form_set_sensitive -gtk_form_set_sensitive_by_name -gtk_form_set_editable -gtk_form_set_visible_by_name -gtk_form_set_form_widget_visible_by_name -gtk_form_get_form_field_value_by_name -gtk_form_get_form_widget_value_by_name -gtk_form_get_form_field_value_stringify_by_name -gtk_form_get_form_widget_value_stringify_by_name -gtk_form_get_form_field_value_sql_by_name -gtk_form_get_form_widget_value_sql_by_name -GtkFormSqlType -gtk_form_get_sql -gtk_form_fill_from_datamodel -gtk_form_fill_from_table -gtk_form_get_values_as_hashtable -gtk_form_fill_from_hashtable -gtk_form_add_group -gtk_form_get_group_by_name -
- -
-widgetentry -GtkFormWidgetEntry -TYPE_GTK_FORM_WIDGET_ENTRY -GTK_FORM_WIDGET_ENTRY -GTK_FORM_WIDGET_ENTRY_CLASS -IS_GTK_FORM_WIDGET_ENTRY -IS_GTK_FORM_WIDGET_ENTRY_CLASS -GTK_FORM_WIDGET_ENTRY_GET_CLASS -GtkFormWidgetEntry -GtkFormWidgetEntryClass -gtk_form_widget_entry_get_type -gtk_form_widget_entry_new -gtk_form_widget_entry_get_value_stringify -gtk_form_widget_entry_set_value_stringify -gtk_form_widget_entry_set_editable -
- -
-fielddatetime -GtkFormFieldDateTime -TYPE_GTK_FORM_FIELD_DATETIME -GTK_FORM_FIELD_DATETIME -GTK_FORM_FIELD_DATETIME_CLASS -IS_GTK_FORM_FIELD_DATETIME -IS_GTK_FORM_FIELD_DATETIME_CLASS -GTK_FORM_FIELD_DATETIME_GET_CLASS -GtkFormFieldDateTime -GtkFormFieldDateTimeClass -gtk_form_field_datetime_get_type -gtk_form_field_datetime_new -gtk_form_field_datetime_get_value_stringify -gtk_form_field_datetime_get_value -gtk_form_field_datetime_get_value_sql -gtk_form_field_datetime_clear -gtk_form_field_datetime_is_empty -gtk_form_field_datetime_is_changed -gtk_form_field_datetime_set_as_origin -gtk_form_field_datetime_set_from_datamodel -gtk_form_field_datetime_set_from_hashtable -gtk_form_field_datetime_get_tm_from_str -gtk_form_field_datetime_get_str_from_tm -gtk_form_field_datetime_get_gdate_from_tm -gtk_form_field_datetime_get_now -
- -
-fieldboolean -GtkFormFieldBoolean -TYPE_GTK_FORM_FIELD_BOOLEAN -GTK_FORM_FIELD_BOOLEAN -GTK_FORM_FIELD_BOOLEAN_CLASS -IS_GTK_FORM_FIELD_BOOLEAN -IS_GTK_FORM_FIELD_BOOLEAN_CLASS -GTK_FORM_FIELD_BOOLEAN_GET_CLASS -GtkFormFieldBoolean -GtkFormFieldBooleanClass -gtk_form_field_boolean_get_type -gtk_form_field_boolean_new -gtk_form_field_boolean_get_value_stringify -gtk_form_field_boolean_get_value -gtk_form_field_boolean_get_value_sql -gtk_form_field_boolean_clear -gtk_form_field_boolean_is_empty -gtk_form_filed_boolean_is_changed -gtk_form_field_boolean_set_as_origin -gtk_form_field_boolean_set_from_datamodel -gtk_form_field_boolean_set_from_hashtable -gtk_form_field_boolean_str_to_boolean -
- -
-widgetlabel -GtkFormWidgetLabel -TYPE_GTK_FORM_WIDGET_LABEL -GTK_FORM_WIDGET_LABEL -GTK_FORM_WIDGET_LABEL_CLASS -IS_GTK_FORM_WIDGET_LABEL -IS_GTK_FORM_WIDGET_LABEL_CLASS -GTK_FORM_WIDGET_LABEL_GET_CLASS -GtkFormWidgetLabel -GtkFormWidgetLabelClass -gtk_form_widget_label_get_type -gtk_form_widget_label_new -gtk_form_widget_label_get_value_stringify -gtk_form_widget_label_set_value_stringify -
- -
-widgetcombobox -GtkFormWidgetComboBox -TYPE_GTK_FORM_WIDGET_COMBO_BOX -GTK_FORM_WIDGET_COMBO_BOX -GTK_FORM_WIDGET_COMBO_BOX_CLASS -IS_GTK_FORM_WIDGET_COMBO_BOX -IS_GTK_FORM_WIDGET_COMBO_BOX_CLASS -GTK_FORM_WIDGET_COMBO_BOX_GET_CLASS -GtkFormWidgetComboBox -GtkFormWidgetComboBoxClass -gtk_form_widget_combo_box_get_type -gtk_form_widget_combo_box_new -gtk_form_widget_combo_box_get_value_stringify -gtk_form_widget_combo_box_set_value_stringify -gtk_form_widget_combo_box_set_editable -gtk_form_widget_combo_box_fill_from_datamodel -gtk_form_widget_combo_box_fill_from_sql -
- -
-widgetcheck -GtkFormWidgetCheck -TYPE_GTK_FORM_WIDGET_CHECK -GTK_FORM_WIDGET_CHECK -GTK_FORM_WIDGET_CHECK_CLASS -IS_GTK_FORM_WIDGET_CHECK -IS_GTK_FORM_WIDGET_CHECK_CLASS -GTK_FORM_WIDGET_CHECK_GET_CLASS -GtkFormWidgetCheck -GtkFormWidgetCheckClass -gtk_form_widget_check_get_type -gtk_form_widget_check_new -gtk_form_widget_check_get_value_stringify -gtk_form_widget_check_set_value_stringify -gtk_form_widget_check_set_editable -
- -
-widgetspin -GtkFormWidgetSpin -TYPE_GTK_FORM_WIDGET_SPIN -GTK_FORM_WIDGET_SPIN -GTK_FORM_WIDGET_SPIN_CLASS -IS_GTK_FORM_WIDGET_SPIN -IS_GTK_FORM_WIDGET_SPIN_CLASS -GTK_FORM_WIDGET_SPIN_GET_CLASS -GtkFormWidgetSpin -GtkFormWidgetSpinClass -gtk_form_widget_spin_get_type -gtk_form_widget_spin_new -gtk_form_widget_spin_get_value_stringify -gtk_form_widget_spin_set_value_stringify -gtk_form_widget_spin_set_editable -
- -
-field -GtkFormField -TYPE_GTK_FORM_FIELD -GTK_FORM_FIELD -GTK_FORM_FIELD_CLASS -IS_GTK_FORM_FIELD -IS_GTK_FORM_FIELD_CLASS -GTK_FORM_FIELD_GET_CLASS -GtkFormField -GtkFormFieldClass -gtk_form_field_get_type -gtk_form_field_new -gtk_form_field_new_from_gtk_form_widget -gtk_form_field_get_field_name -gtk_form_field_get_form_widget -gtk_form_field_get_value_stringify -gtk_form_field_get_value -gtk_form_field_get_value_sql -gtk_form_field_clear -gtk_form_field_is_to_load -gtk_form_field_is_to_save -gtk_form_field_is_auto_increment -gtk_form_field_is_empty -gtk_form_field_is_changed -gtk_form_field_set_as_origin -gtk_form_field_set_from_datamodel -gtk_form_field_set_from_hashtable -
- -
-fieldtext -GtkFormFieldText -TYPE_GTK_FORM_FIELD_TEXT -GTK_FORM_FIELD_TEXT -GTK_FORM_FIELD_TEXT_CLASS -IS_GTK_FORM_FIELD_TEXT -IS_GTK_FORM_FIELD_TEXT_CLASS -GTK_FORM_FIELD_TEXT_GET_CLASS -GtkFormFieldText -GtkFormFieldTextClass -gtk_form_field_text_get_type -gtk_form_field_text_new -gtk_form_field_text_get_value_stringify -gtk_form_field_text_get_value -gtk_form_field_text_get_value_sql -gtk_form_field_text_clear -gtk_form_field_text_is_empty -gtk_form_field_text_is_changed -gtk_form_field_text_set_as_origin -gtk_form_field_text_set_from_datamodel -gtk_form_field_text_set_from_hashtable -
- -
-widgettextview -GtkFormWidgetTextview -TYPE_GTK_FORM_WIDGET_TEXTVIEW -GTK_FORM_WIDGET_TEXTVIEW -GTK_FORM_WIDGET_TEXTVIEW_CLASS -IS_GTK_FORM_WIDGET_TEXTVIEW -IS_GTK_FORM_WIDGET_TEXTVIEW_CLASS -GTK_FORM_WIDGET_TEXTVIEW_GET_CLASS -GtkFormWidgetTextview -GtkFormWidgetTextviewClass -gtk_form_widget_textview_get_type -gtk_form_widget_textview_new -gtk_form_widget_textview_get_value_stringify -gtk_form_widget_textview_set_value_stringify -gtk_form_widget_textview_set_editable -
- -
-group -GtkFormGroup -TYPE_GTK_FORM_GROUP -GTK_FORM_GROUP -GTK_FORM_GROUP_CLASS -IS_GTK_FORM_GROUP -IS_GTK_FORM_GROUP_CLASS -GTK_FORM_GROUP_GET_CLASS -GtkFormGroup -GtkFormGroupClass -gtk_form_group_get_type -gtk_form_group_new -gtk_form_group_get_name -gtk_form_group_add_widget -gtk_form_group_add_field -gtk_form_group_clear -gtk_form_group_set_from_datamodel -gtk_form_group_set_from_hashtable -
- -
-widget -GtkFormWidget -TYPE_GTK_FORM_WIDGET -GTK_FORM_WIDGET -GTK_FORM_WIDGET_CLASS -IS_GTK_FORM_WIDGET -IS_GTK_FORM_WIDGET_CLASS -GTK_FORM_WIDGET_GET_CLASS -GtkFormWidget -GtkFormWidgetClass -gtk_form_widget_get_type -gtk_form_widget_new -gtk_form_widget_set_from_gtkbuilder -gtk_form_widget_get_widget -gtk_form_widget_get_widget_name -gtk_form_widget_get_label -gtk_form_widget_set_label -gtk_form_widget_get_value_stringify -gtk_form_widget_set_value_stringify -gtk_form_widget_set_editable -gtk_form_widget_set_visible -GtkFormWidgetOnChangeOpType -GtkFormWidgetOnChangeOpUpdateWhen -gtk_form_widget_add_on_change_op -
- -
-fieldinteger -GtkFormFieldInteger -TYPE_GTK_FORM_FIELD_INTEGER -GTK_FORM_FIELD_INTEGER -GTK_FORM_FIELD_INTEGER_CLASS -IS_GTK_FORM_FIELD_INTEGER -IS_GTK_FORM_FIELD_INTEGER_CLASS -GTK_FORM_FIELD_INTEGER_GET_CLASS -GtkFormFieldInteger -GtkFormFieldIntegerClass -gtk_form_field_integer_get_type -gtk_form_field_integer_new -gtk_form_field_integer_get_value_stringify -gtk_form_field_integer_get_value -gtk_form_field_integer_get_value_sql -gtk_form_field_integer_clear -gtk_form_field_integer_is_empty -gtk_form_field_integer_is_changed -gtk_form_field_integer_set_as_origin -gtk_form_field_integer_set_from_datamodel -gtk_form_field_integer_set_from_hashtable -
- -
-widgetradio -GtkFormWidgetRadio -TYPE_GTK_FORM_WIDGET_RADIO -GTK_FORM_WIDGET_RADIO -GTK_FORM_WIDGET_RADIO_CLASS -IS_GTK_FORM_WIDGET_RADIO -IS_GTK_FORM_WIDGET_RADIO_CLASS -GTK_FORM_WIDGET_RADIO_GET_CLASS -GtkFormWidgetRadio -GtkFormWidgetRadioClass -gtk_form_widget_radio_get_type -gtk_form_widget_radio_new -gtk_form_widget_radio_get_value_stringify -gtk_form_widget_radio_set_value_stringify -gtk_form_widget_radio_set_editable -gtk_form_widget_radio_set_return_value -gtk_form_widget_radio_get_return_value -
- -
-key -GtkFormKey -TYPE_GTK_FORM_KEY -GTK_FORM_KEY -GTK_FORM_KEY_CLASS -IS_GTK_FORM_KEY -IS_GTK_FORM_KEY_CLASS -GTK_FORM_KEY_GET_CLASS -GtkFormKey -GtkFormKeyClass -gtk_form_key_get_type -gtk_form_key_new -gtk_form_key_add_field -gtk_form_key_remove_field -gtk_form_key_add_fields -gtk_form_key_check -gtk_form_key_get_sql -gtk_form_key_field_is_key -
- diff --git a/docs/reference/libgtkform-decl.txt b/docs/reference/libgtkform-decl.txt deleted file mode 100644 index 07553bb..0000000 --- a/docs/reference/libgtkform-decl.txt +++ /dev/null @@ -1,1726 +0,0 @@ - -TYPE_GTK_FORM_FIELD_FLOAT -#define TYPE_GTK_FORM_FIELD_FLOAT (gtk_form_field_float_get_type ()) - - -GTK_FORM_FIELD_FLOAT -#define GTK_FORM_FIELD_FLOAT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_FORM_FIELD_FLOAT, GtkFormFieldFloat)) - - -GTK_FORM_FIELD_FLOAT_CLASS -#define GTK_FORM_FIELD_FLOAT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_FORM_FIELD_FLOAT, GtkFormFieldFloatClass)) - - -IS_GTK_FORM_FIELD_FLOAT -#define IS_GTK_FORM_FIELD_FLOAT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_FORM_FIELD_FLOAT)) - - -IS_GTK_FORM_FIELD_FLOAT_CLASS -#define IS_GTK_FORM_FIELD_FLOAT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_FORM_FIELD_FLOAT)) - - -GTK_FORM_FIELD_FLOAT_GET_CLASS -#define GTK_FORM_FIELD_FLOAT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_FORM_FIELD_FLOAT, GtkFormFieldFloatClass)) - - -GtkFormFieldFloat - - -GtkFormFieldFloatClass - - -GtkFormFieldFloat -struct _GtkFormFieldFloat - { - GtkFormField parent; - }; - - -GtkFormFieldFloatClass -struct _GtkFormFieldFloatClass - { - GtkFormFieldClass parent_class; - }; - - -gtk_form_field_float_get_type -GType -void - - -gtk_form_field_float_new -GtkFormField * -void - - -gtk_form_field_float_get_value_stringify -gchar * -GtkFormField *field - - -gtk_form_field_float_get_value -GValue * -GtkFormField *field - - -gtk_form_field_float_get_value_sql -gchar * -GtkFormField *field - - -gtk_form_field_float_clear -gboolean -GtkFormField *field - - -gtk_form_field_float_is_empty -gboolean -GtkFormField *field - - -gtk_form_field_float_is_changed -gboolean -GtkFormField *field - - -gtk_form_field_float_set_as_origin -void -GtkFormField *field - - -gtk_form_field_float_set_from_datamodel -gboolean -GtkFormField *field, GdaDataModel *dm, gint row - - -gtk_form_field_float_set_from_hashtable -gboolean -GtkFormField *field, GHashTable *hashtable - - -TYPE_GTK_FORM -#define TYPE_GTK_FORM (gtk_form_get_type ()) - - -GTK_FORM -#define GTK_FORM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_FORM, GtkForm)) - - -GTK_FORM_CLASS -#define GTK_FORM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_FORM, GtkFormClass)) - - -IS_GTK_FORM -#define IS_GTK_FORM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_FORM)) - - -IS_GTK_FORM_CLASS -#define IS_GTK_FORM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_FORM)) - - -GTK_FORM_GET_CLASS -#define GTK_FORM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_FORM, GtkFormClass)) - - -GtkForm - - -GtkFormClass - - -GtkForm -struct _GtkForm - { - GObject parent; - }; - - -GtkFormClass -struct _GtkFormClass - { - GObjectClass parent_class; - }; - - -gtk_form_get_type -GType -void - - -gtk_form_new -GtkForm * -void - - -gtk_form_new_from_xml -GtkForm * -xmlDoc *xmldoc, GtkBuilder *gtkbuilder - - -gtk_form_new_from_file -GtkForm * -const gchar *filename, GtkBuilder *gtkbuilder - - -gtk_form_load_from_xml -gboolean -GtkForm *form, xmlDoc *xmldoc, GtkBuilder *gtkbuilder - - -gtk_form_load_from_file -gboolean -GtkForm *form, const gchar *filename, GtkBuilder *gtkbuilder - - -gtk_form_get_gtkbuilder -GtkBuilder * -GtkForm *form - - -gtk_form_get_table -gchar * -GtkForm *form - - -gtk_form_set_table -void -GtkForm *form, const gchar *table - - -gtk_form_get_key -GtkFormKey * -GtkForm *form - - -gtk_form_set_key -void -GtkForm *form, GtkFormKey *key - - -gtk_form_add_field -gboolean -GtkForm *form, GtkFormField *field - - -gtk_form_remove_field -gboolean -GtkForm *form, GtkFormField *field - - -gtk_form_add_fields -gboolean -GtkForm *form, ... - - -gtk_form_get_form_field_from_name -GtkFormField * -GtkForm *form, const gchar *field_name - - -gtk_form_get_form_widget_from_name -GtkFormWidget * -GtkForm *form, const gchar *widget_name - - -gtk_form_get_widget_from_form_field_name -GtkWidget * -GtkForm *form, const gchar *field_name - - -gtk_form_get_widget_from_form_widget_name -GtkWidget * -GtkForm *form, const gchar *widget_name - - -gtk_form_get_form_field_from_widget -GtkFormField * -GtkForm *form, GtkWidget *widget - - -gtk_form_get_form_widget_from_widget -GtkFormWidget * -GtkForm *form, GtkWidget *widget - - -gtk_form_get_widgets -GtkWidget ** -GtkForm *form - - -gtk_form_get_objects_by_name -GObject ** -GtkForm *form, ... - - -gtk_form_clear -gboolean -GtkForm *form - - -gtk_form_check -gboolean -GtkForm *form, gboolean with_key, GtkFormWidget **form_widget, gboolean show_error_dialog, GtkWidget *parent_window, gboolean set_focus - - -gtk_form_is_changed -gboolean -GtkForm *form - - -gtk_form_set_as_origin -void -GtkForm *form - - -gtk_form_set_sensitive -void -GtkForm *form, gboolean sensitive - - -gtk_form_set_sensitive_by_name -void -GtkForm *form, gboolean sensitive, ... - - -gtk_form_set_editable -void -GtkForm *form, gboolean editable - - -gtk_form_set_visible_by_name -void -GtkForm *form, gboolean visible, ... - - -gtk_form_set_form_widget_visible_by_name -void -GtkForm *form, gboolean visible, ... - - -gtk_form_get_form_field_value_by_name -GValue * -GtkForm *form, const gchar *field_name - - -gtk_form_get_form_widget_value_by_name -GValue * -GtkForm *form, const gchar *widget_name - - -gtk_form_get_form_field_value_stringify_by_name -const gchar * -GtkForm *form, const gchar *field_name - - -gtk_form_get_form_widget_value_stringify_by_name -const gchar * -GtkForm *form, const gchar *widget_name - - -gtk_form_get_form_field_value_sql_by_name -const gchar * -GtkForm *form, const gchar *field_name - - -gtk_form_get_form_widget_value_sql_by_name -const gchar * -GtkForm *form, const gchar *widget_name - - -GtkFormSqlType -typedef enum -{ - GTK_FORM_SQL_SELECT, - GTK_FORM_SQL_INSERT, - GTK_FORM_SQL_UPDATE, - GTK_FORM_SQL_DELETE -} GtkFormSqlType; - - -gtk_form_get_sql -gchar * -GtkForm *form, GtkFormSqlType type - - -gtk_form_fill_from_datamodel -gboolean -GtkForm *form, GdaDataModel *dm, gint row - - -gtk_form_fill_from_table -gboolean -GtkForm *form - - -gtk_form_get_values_as_hashtable -GHashTable * -GtkForm *form - - -gtk_form_fill_from_hashtable -gboolean -GtkForm *form, GHashTable *hashtable - - -gtk_form_add_group -gboolean -GtkForm *form, GtkFormGroup *group - - -gtk_form_get_group_by_name -GtkFormGroup * -GtkForm *form, const gchar *group_name - - -TYPE_GTK_FORM_WIDGET_ENTRY -#define TYPE_GTK_FORM_WIDGET_ENTRY (gtk_form_widget_entry_get_type ()) - - -GTK_FORM_WIDGET_ENTRY -#define GTK_FORM_WIDGET_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_FORM_WIDGET_ENTRY, GtkFormWidgetEntry)) - - -GTK_FORM_WIDGET_ENTRY_CLASS -#define GTK_FORM_WIDGET_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_FORM_WIDGET_ENTRY, GtkFormWidgetEntryClass)) - - -IS_GTK_FORM_WIDGET_ENTRY -#define IS_GTK_FORM_WIDGET_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_FORM_WIDGET_ENTRY)) - - -IS_GTK_FORM_WIDGET_ENTRY_CLASS -#define IS_GTK_FORM_WIDGET_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_FORM_WIDGET_ENTRY)) - - -GTK_FORM_WIDGET_ENTRY_GET_CLASS -#define GTK_FORM_WIDGET_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_FORM_WIDGET_ENTRY, GtkFormWidgetEntryClass)) - - -GtkFormWidgetEntry - - -GtkFormWidgetEntryClass - - -GtkFormWidgetEntry -struct _GtkFormWidgetEntry - { - GtkFormWidget parent; - }; - - -GtkFormWidgetEntryClass -struct _GtkFormWidgetEntryClass - { - GtkFormWidgetClass parent_class; - }; - - -gtk_form_widget_entry_get_type -GType -void - - -gtk_form_widget_entry_new -GtkFormWidget * -void - - -gtk_form_widget_entry_get_value_stringify -gchar * -GtkFormWidget *widget - - -gtk_form_widget_entry_set_value_stringify -gboolean -GtkFormWidget *fwidget, const gchar *value - - -gtk_form_widget_entry_set_editable -void -GtkFormWidget *fwidget, gboolean editable - - -TYPE_GTK_FORM_FIELD_DATETIME -#define TYPE_GTK_FORM_FIELD_DATETIME (gtk_form_field_datetime_get_type ()) - - -GTK_FORM_FIELD_DATETIME -#define GTK_FORM_FIELD_DATETIME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_FORM_FIELD_DATETIME, GtkFormFieldDateTime)) - - -GTK_FORM_FIELD_DATETIME_CLASS -#define GTK_FORM_FIELD_DATETIME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_FORM_FIELD_DATETIME, GtkFormFieldDateTimeClass)) - - -IS_GTK_FORM_FIELD_DATETIME -#define IS_GTK_FORM_FIELD_DATETIME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_FORM_FIELD_DATETIME)) - - -IS_GTK_FORM_FIELD_DATETIME_CLASS -#define IS_GTK_FORM_FIELD_DATETIME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_FORM_FIELD_DATETIME)) - - -GTK_FORM_FIELD_DATETIME_GET_CLASS -#define GTK_FORM_FIELD_DATETIME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_FORM_FIELD_DATETIME, GtkFormFieldDateTimeClass)) - - -GtkFormFieldDateTime - - -GtkFormFieldDateTimeClass - - -GtkFormFieldDateTime -struct _GtkFormFieldDateTime - { - GtkFormField parent; - }; - - -GtkFormFieldDateTimeClass -struct _GtkFormFieldDateTimeClass - { - GtkFormFieldClass parent_class; - }; - - -gtk_form_field_datetime_get_type -GType -void - - -gtk_form_field_datetime_new -GtkFormField * -void - - -gtk_form_field_datetime_get_value_stringify -gchar * -GtkFormField *field - - -gtk_form_field_datetime_get_value -GValue * -GtkFormField *field - - -gtk_form_field_datetime_get_value_sql -gchar * -GtkFormField *field - - -gtk_form_field_datetime_clear -gboolean -GtkFormField *field - - -gtk_form_field_datetime_is_empty -gboolean -GtkFormField *field - - -gtk_form_field_datetime_is_changed -gboolean -GtkFormField *field - - -gtk_form_field_datetime_set_as_origin -void -GtkFormField *field - - -gtk_form_field_datetime_set_from_datamodel -gboolean -GtkFormField *field, GdaDataModel *dm, gint row - - -gtk_form_field_datetime_set_from_hashtable -gboolean -GtkFormField *field, GHashTable *hashtable - - -gtk_form_field_datetime_get_tm_from_str -struct tm * -const gchar *str, const gchar *format - - -gtk_form_field_datetime_get_str_from_tm -gchar * -struct tm *datetime, const gchar *format - - -gtk_form_field_datetime_get_gdate_from_tm -GDate * -struct tm *datetime - - -gtk_form_field_datetime_get_now -struct tm * -void - - -TYPE_GTK_FORM_FIELD_BOOLEAN -#define TYPE_GTK_FORM_FIELD_BOOLEAN (gtk_form_field_boolean_get_type ()) - - -GTK_FORM_FIELD_BOOLEAN -#define GTK_FORM_FIELD_BOOLEAN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_FORM_FIELD_BOOLEAN, GtkFormFieldBoolean)) - - -GTK_FORM_FIELD_BOOLEAN_CLASS -#define GTK_FORM_FIELD_BOOLEAN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_FORM_FIELD_BOOLEAN, GtkFormFieldBooleanClass)) - - -IS_GTK_FORM_FIELD_BOOLEAN -#define IS_GTK_FORM_FIELD_BOOLEAN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_FORM_FIELD_BOOLEAN)) - - -IS_GTK_FORM_FIELD_BOOLEAN_CLASS -#define IS_GTK_FORM_FIELD_BOOLEAN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_FORM_FIELD_BOOLEAN)) - - -GTK_FORM_FIELD_BOOLEAN_GET_CLASS -#define GTK_FORM_FIELD_BOOLEAN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_FORM_FIELD_BOOLEAN, GtkFormFieldBooleanClass)) - - -GtkFormFieldBoolean - - -GtkFormFieldBooleanClass - - -GtkFormFieldBoolean -struct _GtkFormFieldBoolean - { - GtkFormField parent; - }; - - -GtkFormFieldBooleanClass -struct _GtkFormFieldBooleanClass - { - GtkFormFieldClass parent_class; - }; - - -gtk_form_field_boolean_get_type -GType -void - - -gtk_form_field_boolean_new -GtkFormField * -void - - -gtk_form_field_boolean_get_value_stringify -gchar * -GtkFormField *field - - -gtk_form_field_boolean_get_value -GValue * -GtkFormField *field - - -gtk_form_field_boolean_get_value_sql -gchar * -GtkFormField *field - - -gtk_form_field_boolean_clear -gboolean -GtkFormField *field - - -gtk_form_field_boolean_is_empty -gboolean -GtkFormField *field - - -gtk_form_filed_boolean_is_changed -gboolean -GtkFormField *field - - -gtk_form_field_boolean_set_as_origin -void -GtkFormField *field - - -gtk_form_field_boolean_set_from_datamodel -gboolean -GtkFormField *field, GdaDataModel *dm, gint row - - -gtk_form_field_boolean_set_from_hashtable -gboolean -GtkFormField *field, GHashTable *hashtable - - -gtk_form_field_boolean_str_to_boolean -gboolean -const gchar *value - - -TYPE_GTK_FORM_WIDGET_LABEL -#define TYPE_GTK_FORM_WIDGET_LABEL (gtk_form_widget_label_get_type ()) - - -GTK_FORM_WIDGET_LABEL -#define GTK_FORM_WIDGET_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_FORM_WIDGET_LABEL, GtkFormWidgetLabel)) - - -GTK_FORM_WIDGET_LABEL_CLASS -#define GTK_FORM_WIDGET_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_FORM_WIDGET_LABEL, GtkFormWidgetLabelClass)) - - -IS_GTK_FORM_WIDGET_LABEL -#define IS_GTK_FORM_WIDGET_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_FORM_WIDGET_LABEL)) - - -IS_GTK_FORM_WIDGET_LABEL_CLASS -#define IS_GTK_FORM_WIDGET_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_FORM_WIDGET_LABEL)) - - -GTK_FORM_WIDGET_LABEL_GET_CLASS -#define GTK_FORM_WIDGET_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_FORM_WIDGET_LABEL, GtkFormWidgetLabelClass)) - - -GtkFormWidgetLabel - - -GtkFormWidgetLabelClass - - -GtkFormWidgetLabel -struct _GtkFormWidgetLabel - { - GtkFormWidget parent; - }; - - -GtkFormWidgetLabelClass -struct _GtkFormWidgetLabelClass - { - GtkFormWidgetClass parent_class; - }; - - -gtk_form_widget_label_get_type -GType -void - - -gtk_form_widget_label_new -GtkFormWidget * -void - - -gtk_form_widget_label_get_value_stringify -gchar * -GtkFormWidget *widget - - -gtk_form_widget_label_set_value_stringify -gboolean -GtkFormWidget *fwidget, const gchar *value - - -TYPE_GTK_FORM_WIDGET_COMBO_BOX -#define TYPE_GTK_FORM_WIDGET_COMBO_BOX (gtk_form_widget_combo_box_get_type ()) - - -GTK_FORM_WIDGET_COMBO_BOX -#define GTK_FORM_WIDGET_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_FORM_WIDGET_COMBO_BOX, GtkFormWidgetComboBox)) - - -GTK_FORM_WIDGET_COMBO_BOX_CLASS -#define GTK_FORM_WIDGET_COMBO_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_FORM_WIDGET_COMBO_BOX, GtkFormWidgetComboBoxClass)) - - -IS_GTK_FORM_WIDGET_COMBO_BOX -#define IS_GTK_FORM_WIDGET_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_FORM_WIDGET_COMBO_BOX)) - - -IS_GTK_FORM_WIDGET_COMBO_BOX_CLASS -#define IS_GTK_FORM_WIDGET_COMBO_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_FORM_WIDGET_COMBO_BOX)) - - -GTK_FORM_WIDGET_COMBO_BOX_GET_CLASS -#define GTK_FORM_WIDGET_COMBO_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_FORM_WIDGET_COMBO_BOX, GtkFormWidgetComboBoxClass)) - - -GtkFormWidgetComboBox - - -GtkFormWidgetComboBoxClass - - -GtkFormWidgetComboBox -struct _GtkFormWidgetComboBox - { - GtkFormWidget parent; - }; - - -GtkFormWidgetComboBoxClass -struct _GtkFormWidgetComboBoxClass - { - GtkFormWidgetClass parent_class; - }; - - -gtk_form_widget_combo_box_get_type -GType -void - - -gtk_form_widget_combo_box_new -GtkFormWidget * -void - - -gtk_form_widget_combo_box_get_value_stringify -gchar * -GtkFormWidget *widget - - -gtk_form_widget_combo_box_set_value_stringify -gboolean -GtkFormWidget *fwidget, const gchar *value - - -gtk_form_widget_combo_box_set_editable -void -GtkFormWidget *fwidget, gboolean editable - - -gtk_form_widget_combo_box_fill_from_datamodel -void -GtkFormWidget *fwidget, GdaDataModel *dm, gboolean with_empty_entry - - -gtk_form_widget_combo_box_fill_from_sql -void -GtkFormWidget *fwidget, GdaEx *gdaex, const gchar *sql, gboolean with_empty_entry - - -TYPE_GTK_FORM_WIDGET_CHECK -#define TYPE_GTK_FORM_WIDGET_CHECK (gtk_form_widget_check_get_type ()) - - -GTK_FORM_WIDGET_CHECK -#define GTK_FORM_WIDGET_CHECK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_FORM_WIDGET_CHECK, GtkFormWidgetCheck)) - - -GTK_FORM_WIDGET_CHECK_CLASS -#define GTK_FORM_WIDGET_CHECK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_FORM_WIDGET_CHECK, GtkFormWidgetCheckClass)) - - -IS_GTK_FORM_WIDGET_CHECK -#define IS_GTK_FORM_WIDGET_CHECK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_FORM_WIDGET_CHECK)) - - -IS_GTK_FORM_WIDGET_CHECK_CLASS -#define IS_GTK_FORM_WIDGET_CHECK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_FORM_WIDGET_CHECK)) - - -GTK_FORM_WIDGET_CHECK_GET_CLASS -#define GTK_FORM_WIDGET_CHECK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_FORM_WIDGET_CHECK, GtkFormWidgetCheckClass)) - - -GtkFormWidgetCheck - - -GtkFormWidgetCheckClass - - -GtkFormWidgetCheck -struct _GtkFormWidgetCheck - { - GtkFormWidget parent; - }; - - -GtkFormWidgetCheckClass -struct _GtkFormWidgetCheckClass - { - GtkFormWidgetClass parent_class; - }; - - -gtk_form_widget_check_get_type -GType -void - - -gtk_form_widget_check_new -GtkFormWidget * -void - - -gtk_form_widget_check_get_value_stringify -gchar * -GtkFormWidget *widget - - -gtk_form_widget_check_set_value_stringify -gboolean -GtkFormWidget *fwidget, const gchar *value - - -gtk_form_widget_check_set_editable -void -GtkFormWidget *fwidget, gboolean editable - - -TYPE_GTK_FORM_WIDGET_SPIN -#define TYPE_GTK_FORM_WIDGET_SPIN (gtk_form_widget_spin_get_type ()) - - -GTK_FORM_WIDGET_SPIN -#define GTK_FORM_WIDGET_SPIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_FORM_WIDGET_SPIN, GtkFormWidgetSpin)) - - -GTK_FORM_WIDGET_SPIN_CLASS -#define GTK_FORM_WIDGET_SPIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_FORM_WIDGET_SPIN, GtkFormWidgetSpinClass)) - - -IS_GTK_FORM_WIDGET_SPIN -#define IS_GTK_FORM_WIDGET_SPIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_FORM_WIDGET_SPIN)) - - -IS_GTK_FORM_WIDGET_SPIN_CLASS -#define IS_GTK_FORM_WIDGET_SPIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_FORM_WIDGET_SPIN)) - - -GTK_FORM_WIDGET_SPIN_GET_CLASS -#define GTK_FORM_WIDGET_SPIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_FORM_WIDGET_SPIN, GtkFormWidgetSpinClass)) - - -GtkFormWidgetSpin - - -GtkFormWidgetSpinClass - - -GtkFormWidgetSpin -struct _GtkFormWidgetSpin - { - GtkFormWidget parent; - }; - - -GtkFormWidgetSpinClass -struct _GtkFormWidgetSpinClass - { - GtkFormWidgetClass parent_class; - }; - - -gtk_form_widget_spin_get_type -GType -void - - -gtk_form_widget_spin_new -GtkFormWidget * -void - - -gtk_form_widget_spin_get_value_stringify -gchar * -GtkFormWidget *widget - - -gtk_form_widget_spin_set_value_stringify -gboolean -GtkFormWidget *fwidget, const gchar *value - - -gtk_form_widget_spin_set_editable -void -GtkFormWidget *fwidget, gboolean editable - - -TYPE_GTK_FORM_FIELD -#define TYPE_GTK_FORM_FIELD (gtk_form_field_get_type ()) - - -GTK_FORM_FIELD -#define GTK_FORM_FIELD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_FORM_FIELD, GtkFormField)) - - -GTK_FORM_FIELD_CLASS -#define GTK_FORM_FIELD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_FORM_FIELD, GtkFormFieldClass)) - - -IS_GTK_FORM_FIELD -#define IS_GTK_FORM_FIELD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_FORM_FIELD)) - - -IS_GTK_FORM_FIELD_CLASS -#define IS_GTK_FORM_FIELD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_FORM_FIELD)) - - -GTK_FORM_FIELD_GET_CLASS -#define GTK_FORM_FIELD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_FORM_FIELD, GtkFormFieldClass)) - - -GtkFormField - - -GtkFormFieldClass - - -GtkFormField -struct _GtkFormField - { - GObject parent; - }; - - -GtkFormFieldClass -struct _GtkFormFieldClass - { - GObjectClass parent_class; - - gchar *(*get_value_stringify) (GtkFormField *field); - GValue *(*get_value) (GtkFormField *field); - gchar *(*get_value_sql) (GtkFormField *field); - - gboolean (*clear) (GtkFormField *field); - gboolean (*is_empty) (GtkFormField *field); - gboolean (*is_changed) (GtkFormField *field); - void (*set_as_origin) (GtkFormField *field); - gboolean (*set_from_datamodel) (GtkFormField *field, GdaDataModel *dm, gint row); - gboolean (*set_from_hashtable) (GtkFormField *field, GHashTable *hashtable); - }; - - -gtk_form_field_get_type -GType -void - - -gtk_form_field_new -GtkFormField * -void - - -gtk_form_field_new_from_gtk_form_widget -GtkFormField * -GtkFormWidget *fwidget - - -gtk_form_field_get_field_name -gchar * -GtkFormField *field - - -gtk_form_field_get_form_widget -GtkFormWidget * -GtkFormField *field - - -gtk_form_field_get_value_stringify -gchar * -GtkFormField *field - - -gtk_form_field_get_value -GValue * -GtkFormField *field - - -gtk_form_field_get_value_sql -gchar * -GtkFormField *field - - -gtk_form_field_clear -gboolean -GtkFormField *field - - -gtk_form_field_is_to_load -gboolean -GtkFormField *field - - -gtk_form_field_is_to_save -gboolean -GtkFormField *field - - -gtk_form_field_is_auto_increment -gboolean -GtkFormField *field - - -gtk_form_field_is_empty -gboolean -GtkFormField *field - - -gtk_form_field_is_changed -gboolean -GtkFormField *field - - -gtk_form_field_set_as_origin -void -GtkFormField *field - - -gtk_form_field_set_from_datamodel -gboolean -GtkFormField *field, GdaDataModel *dm, gint row - - -gtk_form_field_set_from_hashtable -gboolean -GtkFormField *field, GHashTable *hashtable - - -TYPE_GTK_FORM_FIELD_TEXT -#define TYPE_GTK_FORM_FIELD_TEXT (gtk_form_field_text_get_type ()) - - -GTK_FORM_FIELD_TEXT -#define GTK_FORM_FIELD_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_FORM_FIELD_TEXT, GtkFormFieldText)) - - -GTK_FORM_FIELD_TEXT_CLASS -#define GTK_FORM_FIELD_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_FORM_FIELD_TEXT, GtkFormFieldTextClass)) - - -IS_GTK_FORM_FIELD_TEXT -#define IS_GTK_FORM_FIELD_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_FORM_FIELD_TEXT)) - - -IS_GTK_FORM_FIELD_TEXT_CLASS -#define IS_GTK_FORM_FIELD_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_FORM_FIELD_TEXT)) - - -GTK_FORM_FIELD_TEXT_GET_CLASS -#define GTK_FORM_FIELD_TEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_FORM_FIELD_TEXT, GtkFormFieldTextClass)) - - -GtkFormFieldText - - -GtkFormFieldTextClass - - -GtkFormFieldText -struct _GtkFormFieldText - { - GtkFormField parent; - }; - - -GtkFormFieldTextClass -struct _GtkFormFieldTextClass - { - GtkFormFieldClass parent_class; - }; - - -gtk_form_field_text_get_type -GType -void - - -gtk_form_field_text_new -GtkFormField * -void - - -gtk_form_field_text_get_value_stringify -gchar * -GtkFormField *field - - -gtk_form_field_text_get_value -GValue * -GtkFormField *field - - -gtk_form_field_text_get_value_sql -gchar * -GtkFormField *field - - -gtk_form_field_text_clear -gboolean -GtkFormField *field - - -gtk_form_field_text_is_empty -gboolean -GtkFormField *field - - -gtk_form_field_text_is_changed -gboolean -GtkFormField *field - - -gtk_form_field_text_set_as_origin -void -GtkFormField *field - - -gtk_form_field_text_set_from_datamodel -gboolean -GtkFormField *field, GdaDataModel *dm, gint row - - -gtk_form_field_text_set_from_hashtable -gboolean -GtkFormField *field, GHashTable *hashtable - - -TYPE_GTK_FORM_WIDGET_TEXTVIEW -#define TYPE_GTK_FORM_WIDGET_TEXTVIEW (gtk_form_widget_textview_get_type ()) - - -GTK_FORM_WIDGET_TEXTVIEW -#define GTK_FORM_WIDGET_TEXTVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_FORM_WIDGET_TEXTVIEW, GtkFormWidgetTextview)) - - -GTK_FORM_WIDGET_TEXTVIEW_CLASS -#define GTK_FORM_WIDGET_TEXTVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_FORM_WIDGET_TEXTVIEW, GtkFormWidgetTextviewClass)) - - -IS_GTK_FORM_WIDGET_TEXTVIEW -#define IS_GTK_FORM_WIDGET_TEXTVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_FORM_WIDGET_TEXTVIEW)) - - -IS_GTK_FORM_WIDGET_TEXTVIEW_CLASS -#define IS_GTK_FORM_WIDGET_TEXTVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_FORM_WIDGET_TEXTVIEW)) - - -GTK_FORM_WIDGET_TEXTVIEW_GET_CLASS -#define GTK_FORM_WIDGET_TEXTVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_FORM_WIDGET_TEXTVIEW, GtkFormWidgetTextviewClass)) - - -GtkFormWidgetTextview - - -GtkFormWidgetTextviewClass - - -GtkFormWidgetTextview -struct _GtkFormWidgetTextview - { - GtkFormWidget parent; - }; - - -GtkFormWidgetTextviewClass -struct _GtkFormWidgetTextviewClass - { - GtkFormWidgetClass parent_class; - }; - - -gtk_form_widget_textview_get_type -GType -void - - -gtk_form_widget_textview_new -GtkFormWidget * -void - - -gtk_form_widget_textview_get_value_stringify -gchar * -GtkFormWidget *widget - - -gtk_form_widget_textview_set_value_stringify -gboolean -GtkFormWidget *fwidget, const gchar *value - - -gtk_form_widget_textview_set_editable -void -GtkFormWidget *fwidget, gboolean editable - - -TYPE_GTK_FORM_GROUP -#define TYPE_GTK_FORM_GROUP (gtk_form_group_get_type ()) - - -GTK_FORM_GROUP -#define GTK_FORM_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_FORM_GROUP, GtkFormGroup)) - - -GTK_FORM_GROUP_CLASS -#define GTK_FORM_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_FORM_GROUP, GtkFormGroupClass)) - - -IS_GTK_FORM_GROUP -#define IS_GTK_FORM_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_FORM_GROUP)) - - -IS_GTK_FORM_GROUP_CLASS -#define IS_GTK_FORM_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_FORM_GROUP)) - - -GTK_FORM_GROUP_GET_CLASS -#define GTK_FORM_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_FORM_GROUP, GtkFormGroupClass)) - - -GtkFormGroup - - -GtkFormGroupClass - - -GtkFormGroup -struct _GtkFormGroup - { - GObject parent; - }; - - -GtkFormGroupClass -struct _GtkFormGroupClass - { - GObjectClass parent_class; - }; - - -gtk_form_group_get_type -GType -void - - -gtk_form_group_new -GtkFormGroup * -const gchar *name - - -gtk_form_group_get_name -gchar * -GtkFormGroup *group - - -gtk_form_group_add_widget -gboolean -GtkFormGroup *group, GtkFormWidget *fwidget - - -gtk_form_group_add_field -gboolean -GtkFormGroup *group, GtkFormField *field - - -gtk_form_group_clear -gboolean -GtkFormGroup *group - - -gtk_form_group_set_from_datamodel -gboolean -GtkFormGroup *group, GdaDataModel *dm, gint row - - -gtk_form_group_set_from_hashtable -gboolean -GtkFormGroup *group, GHashTable *hashtable - - -TYPE_GTK_FORM_WIDGET -#define TYPE_GTK_FORM_WIDGET (gtk_form_widget_get_type ()) - - -GTK_FORM_WIDGET -#define GTK_FORM_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_FORM_WIDGET, GtkFormWidget)) - - -GTK_FORM_WIDGET_CLASS -#define GTK_FORM_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_FORM_WIDGET, GtkFormWidgetClass)) - - -IS_GTK_FORM_WIDGET -#define IS_GTK_FORM_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_FORM_WIDGET)) - - -IS_GTK_FORM_WIDGET_CLASS -#define IS_GTK_FORM_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_FORM_WIDGET)) - - -GTK_FORM_WIDGET_GET_CLASS -#define GTK_FORM_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_FORM_WIDGET, GtkFormWidgetClass)) - - -GtkFormWidget - - -GtkFormWidgetClass - - -GtkFormWidget -struct _GtkFormWidget - { - GObject parent; - }; - - -GtkFormWidgetClass -struct _GtkFormWidgetClass - { - GObjectClass parent_class; - - gchar *(*get_value_stringify) (GtkFormWidget *fwidget); - - gboolean (*set_value_stringify) (GtkFormWidget *fwidget, const gchar *value); - - void (*set_editable) (GtkFormWidget *fwidget, gboolean editable); - }; - - -gtk_form_widget_get_type -GType -void - - -gtk_form_widget_new -GtkFormWidget * -void - - -gtk_form_widget_set_from_gtkbuilder -gboolean -GtkFormWidget *fwidget, GtkBuilder *gtkbuilder, const gchar *widget_name - - -gtk_form_widget_get_widget -GtkWidget * -GtkFormWidget *fwidget - - -gtk_form_widget_get_widget_name -gchar * -GtkFormWidget *fwidget - - -gtk_form_widget_get_label -GtkWidget * -GtkFormWidget *fwidget - - -gtk_form_widget_set_label -void -GtkFormWidget *fwidget, GtkWidget *label - - -gtk_form_widget_get_value_stringify -gchar * -GtkFormWidget *fwidget - - -gtk_form_widget_set_value_stringify -gboolean -GtkFormWidget *fwidget, const gchar *value - - -gtk_form_widget_set_editable -void -GtkFormWidget *fwidget, gboolean editable - - -gtk_form_widget_set_visible -void -GtkFormWidget *fwidget, gboolean visible - - -GtkFormWidgetOnChangeOpType -typedef enum -{ - GTK_FORM_WIDGET_ON_CHANGE_OP_UPDATE -} GtkFormWidgetOnChangeOpType; - - -GtkFormWidgetOnChangeOpUpdateWhen -typedef enum -{ - GTK_FORM_WIDGET_ON_CHANGE_OP_UPDATE_BEFORE, - GTK_FORM_WIDGET_ON_CHANGE_OP_UPDATE_AFTER, - GTK_FORM_WIDGET_ON_CHANGE_OP_UPDATE_BOTH -} GtkFormWidgetOnChangeOpUpdateWhen; - - -gtk_form_widget_add_on_change_op -void -GtkFormWidget *fwidget, GtkFormWidgetOnChangeOp *op - - -TYPE_GTK_FORM_FIELD_INTEGER -#define TYPE_GTK_FORM_FIELD_INTEGER (gtk_form_field_integer_get_type ()) - - -GTK_FORM_FIELD_INTEGER -#define GTK_FORM_FIELD_INTEGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_FORM_FIELD_INTEGER, GtkFormFieldInteger)) - - -GTK_FORM_FIELD_INTEGER_CLASS -#define GTK_FORM_FIELD_INTEGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_FORM_FIELD_INTEGER, GtkFormFieldIntegerClass)) - - -IS_GTK_FORM_FIELD_INTEGER -#define IS_GTK_FORM_FIELD_INTEGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_FORM_FIELD_INTEGER)) - - -IS_GTK_FORM_FIELD_INTEGER_CLASS -#define IS_GTK_FORM_FIELD_INTEGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_FORM_FIELD_INTEGER)) - - -GTK_FORM_FIELD_INTEGER_GET_CLASS -#define GTK_FORM_FIELD_INTEGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_FORM_FIELD_INTEGER, GtkFormFieldIntegerClass)) - - -GtkFormFieldInteger - - -GtkFormFieldIntegerClass - - -GtkFormFieldInteger -struct _GtkFormFieldInteger - { - GtkFormField parent; - }; - - -GtkFormFieldIntegerClass -struct _GtkFormFieldIntegerClass - { - GtkFormFieldClass parent_class; - }; - - -gtk_form_field_integer_get_type -GType -void - - -gtk_form_field_integer_new -GtkFormField * -void - - -gtk_form_field_integer_get_value_stringify -gchar * -GtkFormField *field - - -gtk_form_field_integer_get_value -GValue * -GtkFormField *field - - -gtk_form_field_integer_get_value_sql -gchar * -GtkFormField *field - - -gtk_form_field_integer_clear -gboolean -GtkFormField *field - - -gtk_form_field_integer_is_empty -gboolean -GtkFormField *field - - -gtk_form_field_integer_is_changed -gboolean -GtkFormField *field - - -gtk_form_field_integer_set_as_origin -void -GtkFormField *field - - -gtk_form_field_integer_set_from_datamodel -gboolean -GtkFormField *field, GdaDataModel *dm, gint row - - -gtk_form_field_integer_set_from_hashtable -gboolean -GtkFormField *field, GHashTable *hashtable - - -TYPE_GTK_FORM_WIDGET_RADIO -#define TYPE_GTK_FORM_WIDGET_RADIO (gtk_form_widget_radio_get_type ()) - - -GTK_FORM_WIDGET_RADIO -#define GTK_FORM_WIDGET_RADIO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_FORM_WIDGET_RADIO, GtkFormWidgetRadio)) - - -GTK_FORM_WIDGET_RADIO_CLASS -#define GTK_FORM_WIDGET_RADIO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_FORM_WIDGET_RADIO, GtkFormWidgetRadioClass)) - - -IS_GTK_FORM_WIDGET_RADIO -#define IS_GTK_FORM_WIDGET_RADIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_FORM_WIDGET_RADIO)) - - -IS_GTK_FORM_WIDGET_RADIO_CLASS -#define IS_GTK_FORM_WIDGET_RADIO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_FORM_WIDGET_RADIO)) - - -GTK_FORM_WIDGET_RADIO_GET_CLASS -#define GTK_FORM_WIDGET_RADIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_FORM_WIDGET_RADIO, GtkFormWidgetRadioClass)) - - -GtkFormWidgetRadio - - -GtkFormWidgetRadioClass - - -GtkFormWidgetRadio -struct _GtkFormWidgetRadio - { - GtkFormWidget parent; - }; - - -GtkFormWidgetRadioClass -struct _GtkFormWidgetRadioClass - { - GtkFormWidgetClass parent_class; - }; - - -gtk_form_widget_radio_get_type -GType -void - - -gtk_form_widget_radio_new -GtkFormWidget * -void - - -gtk_form_widget_radio_get_value_stringify -gchar * -GtkFormWidget *widget - - -gtk_form_widget_radio_set_value_stringify -gboolean -GtkFormWidget *fwidget, const gchar *value - - -gtk_form_widget_radio_set_editable -void -GtkFormWidget *fwidget, gboolean editable - - -gtk_form_widget_radio_set_return_value -void -GtkFormWidgetRadio *fwidget, const gchar *value - - -gtk_form_widget_radio_get_return_value -gchar * -GtkFormWidgetRadio *fwidget - - -TYPE_GTK_FORM_KEY -#define TYPE_GTK_FORM_KEY (gtk_form_key_get_type ()) - - -GTK_FORM_KEY -#define GTK_FORM_KEY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_FORM_KEY, GtkFormKey)) - - -GTK_FORM_KEY_CLASS -#define GTK_FORM_KEY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_FORM_KEY, GtkFormKeyClass)) - - -IS_GTK_FORM_KEY -#define IS_GTK_FORM_KEY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_FORM_KEY)) - - -IS_GTK_FORM_KEY_CLASS -#define IS_GTK_FORM_KEY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_FORM_KEY)) - - -GTK_FORM_KEY_GET_CLASS -#define GTK_FORM_KEY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_FORM_KEY, GtkFormKeyClass)) - - -GtkFormKey - - -GtkFormKeyClass - - -GtkFormKey -struct _GtkFormKey - { - GObject parent; - }; - - -GtkFormKeyClass -struct _GtkFormKeyClass - { - GObjectClass parent_class; - }; - - -gtk_form_key_get_type -GType -void - - -gtk_form_key_new -GtkFormKey * -void - - -gtk_form_key_add_field -gboolean -GtkFormKey *gtk_form_key, GtkFormField *field - - -gtk_form_key_remove_field -gboolean -GtkFormKey *gtk_form_key, GtkFormField *field - - -gtk_form_key_add_fields -gboolean -GtkFormKey *gtk_form_key, ... - - -gtk_form_key_check -gboolean -GtkFormKey *gtk_form_key, GtkFormWidget **form_widget - - -gtk_form_key_get_sql -gchar * -GtkFormKey *gtk_form_key - - -gtk_form_key_field_is_key -gboolean -GtkFormKey *gtk_form_key, GtkFormField *field - diff --git a/docs/reference/libgtkform-undeclared.txt b/docs/reference/libgtkform-undeclared.txt deleted file mode 100644 index e69de29..0000000 diff --git a/docs/reference/libgtkform-undocumented.txt b/docs/reference/libgtkform-undocumented.txt deleted file mode 100644 index c1d8f01..0000000 --- a/docs/reference/libgtkform-undocumented.txt +++ /dev/null @@ -1,368 +0,0 @@ -8% symbol docs coverage. -31 symbols documented. -22 symbols incomplete. -358 not documented. - - -GTK_FORM -GTK_FORM_CLASS -GTK_FORM_FIELD -GTK_FORM_FIELD_BOOLEAN -GTK_FORM_FIELD_BOOLEAN_CLASS -GTK_FORM_FIELD_BOOLEAN_GET_CLASS -GTK_FORM_FIELD_CLASS -GTK_FORM_FIELD_DATETIME -GTK_FORM_FIELD_DATETIME_CLASS -GTK_FORM_FIELD_DATETIME_GET_CLASS -GTK_FORM_FIELD_FLOAT -GTK_FORM_FIELD_FLOAT_CLASS -GTK_FORM_FIELD_FLOAT_GET_CLASS -GTK_FORM_FIELD_GET_CLASS -GTK_FORM_FIELD_INTEGER -GTK_FORM_FIELD_INTEGER_CLASS -GTK_FORM_FIELD_INTEGER_GET_CLASS -GTK_FORM_FIELD_TEXT -GTK_FORM_FIELD_TEXT_CLASS -GTK_FORM_FIELD_TEXT_GET_CLASS -GTK_FORM_GET_CLASS -GTK_FORM_GROUP -GTK_FORM_GROUP_CLASS -GTK_FORM_GROUP_GET_CLASS -GTK_FORM_KEY -GTK_FORM_KEY_CLASS -GTK_FORM_KEY_GET_CLASS -GTK_FORM_WIDGET -GTK_FORM_WIDGET_CHECK -GTK_FORM_WIDGET_CHECK_CLASS -GTK_FORM_WIDGET_CHECK_GET_CLASS -GTK_FORM_WIDGET_CLASS -GTK_FORM_WIDGET_COMBO_BOX -GTK_FORM_WIDGET_COMBO_BOX_CLASS -GTK_FORM_WIDGET_COMBO_BOX_GET_CLASS -GTK_FORM_WIDGET_ENTRY -GTK_FORM_WIDGET_ENTRY_CLASS -GTK_FORM_WIDGET_ENTRY_GET_CLASS -GTK_FORM_WIDGET_GET_CLASS -GTK_FORM_WIDGET_LABEL -GTK_FORM_WIDGET_LABEL_CLASS -GTK_FORM_WIDGET_LABEL_GET_CLASS -GTK_FORM_WIDGET_RADIO -GTK_FORM_WIDGET_RADIO_CLASS -GTK_FORM_WIDGET_RADIO_GET_CLASS -GTK_FORM_WIDGET_SPIN -GTK_FORM_WIDGET_SPIN_CLASS -GTK_FORM_WIDGET_SPIN_GET_CLASS -GTK_FORM_WIDGET_TEXTVIEW -GTK_FORM_WIDGET_TEXTVIEW_CLASS -GTK_FORM_WIDGET_TEXTVIEW_GET_CLASS -GtkForm -GtkFormClass () -GtkFormField -GtkFormFieldBoolean -GtkFormFieldBooleanClass () -GtkFormFieldClass () -GtkFormFieldDateTime -GtkFormFieldDateTimeClass () -GtkFormFieldFloat -GtkFormFieldFloatClass () -GtkFormFieldInteger -GtkFormFieldIntegerClass () -GtkFormFieldText -GtkFormFieldTextClass () -GtkFormGroup -GtkFormGroupClass () -GtkFormKey -GtkFormKeyClass () -GtkFormSqlType () -GtkFormWidget -GtkFormWidgetCheck -GtkFormWidgetCheckClass () -GtkFormWidgetClass () -GtkFormWidgetComboBox -GtkFormWidgetComboBoxClass () -GtkFormWidgetEntry -GtkFormWidgetEntryClass () -GtkFormWidgetLabel -GtkFormWidgetLabelClass () -GtkFormWidgetOnChangeOpType () -GtkFormWidgetOnChangeOpUpdateWhen () -GtkFormWidgetRadio -GtkFormWidgetRadioClass () -GtkFormWidgetSpin -GtkFormWidgetSpinClass () -GtkFormWidgetTextview -GtkFormWidgetTextviewClass () -IS_GTK_FORM -IS_GTK_FORM_CLASS -IS_GTK_FORM_FIELD -IS_GTK_FORM_FIELD_BOOLEAN -IS_GTK_FORM_FIELD_BOOLEAN_CLASS -IS_GTK_FORM_FIELD_CLASS -IS_GTK_FORM_FIELD_DATETIME -IS_GTK_FORM_FIELD_DATETIME_CLASS -IS_GTK_FORM_FIELD_FLOAT -IS_GTK_FORM_FIELD_FLOAT_CLASS -IS_GTK_FORM_FIELD_INTEGER -IS_GTK_FORM_FIELD_INTEGER_CLASS -IS_GTK_FORM_FIELD_TEXT -IS_GTK_FORM_FIELD_TEXT_CLASS -IS_GTK_FORM_GROUP -IS_GTK_FORM_GROUP_CLASS -IS_GTK_FORM_KEY -IS_GTK_FORM_KEY_CLASS -IS_GTK_FORM_WIDGET -IS_GTK_FORM_WIDGET_CHECK -IS_GTK_FORM_WIDGET_CHECK_CLASS -IS_GTK_FORM_WIDGET_CLASS -IS_GTK_FORM_WIDGET_COMBO_BOX -IS_GTK_FORM_WIDGET_COMBO_BOX_CLASS -IS_GTK_FORM_WIDGET_ENTRY -IS_GTK_FORM_WIDGET_ENTRY_CLASS -IS_GTK_FORM_WIDGET_LABEL -IS_GTK_FORM_WIDGET_LABEL_CLASS -IS_GTK_FORM_WIDGET_RADIO -IS_GTK_FORM_WIDGET_RADIO_CLASS -IS_GTK_FORM_WIDGET_SPIN -IS_GTK_FORM_WIDGET_SPIN_CLASS -IS_GTK_FORM_WIDGET_TEXTVIEW -IS_GTK_FORM_WIDGET_TEXTVIEW_CLASS -TYPE_GTK_FORM -TYPE_GTK_FORM_FIELD -TYPE_GTK_FORM_FIELD_BOOLEAN -TYPE_GTK_FORM_FIELD_DATETIME -TYPE_GTK_FORM_FIELD_FLOAT -TYPE_GTK_FORM_FIELD_INTEGER -TYPE_GTK_FORM_FIELD_TEXT -TYPE_GTK_FORM_GROUP -TYPE_GTK_FORM_KEY -TYPE_GTK_FORM_WIDGET -TYPE_GTK_FORM_WIDGET_CHECK -TYPE_GTK_FORM_WIDGET_COMBO_BOX -TYPE_GTK_FORM_WIDGET_ENTRY -TYPE_GTK_FORM_WIDGET_LABEL -TYPE_GTK_FORM_WIDGET_RADIO -TYPE_GTK_FORM_WIDGET_SPIN -TYPE_GTK_FORM_WIDGET_TEXTVIEW -gtk_form_add_field -gtk_form_add_fields -gtk_form_add_group -gtk_form_check -gtk_form_clear -gtk_form_field_boolean_clear -gtk_form_field_boolean_get_type -gtk_form_field_boolean_get_value -gtk_form_field_boolean_get_value_sql -gtk_form_field_boolean_get_value_stringify -gtk_form_field_boolean_is_empty -gtk_form_field_boolean_new -gtk_form_field_boolean_set_as_origin -gtk_form_field_boolean_set_from_datamodel -gtk_form_field_boolean_set_from_hashtable -gtk_form_field_boolean_str_to_boolean (value, value) -gtk_form_field_clear -gtk_form_field_datetime_clear -gtk_form_field_datetime_get_gdate_from_tm -gtk_form_field_datetime_get_now -gtk_form_field_datetime_get_str_format -gtk_form_field_datetime_get_str_from_tm -gtk_form_field_datetime_get_tm_from_str -gtk_form_field_datetime_get_type -gtk_form_field_datetime_get_value -gtk_form_field_datetime_get_value_sql -gtk_form_field_datetime_get_value_stringify -gtk_form_field_datetime_is_changed -gtk_form_field_datetime_is_empty -gtk_form_field_datetime_new -gtk_form_field_datetime_replace_str -gtk_form_field_datetime_set_as_origin -gtk_form_field_datetime_set_from_datamodel -gtk_form_field_datetime_set_from_hashtable -gtk_form_field_float_clear -gtk_form_field_float_get_type -gtk_form_field_float_get_value -gtk_form_field_float_get_value_sql -gtk_form_field_float_get_value_stringify -gtk_form_field_float_is_changed -gtk_form_field_float_is_empty -gtk_form_field_float_new -gtk_form_field_float_set_as_origin -gtk_form_field_float_set_from_datamodel -gtk_form_field_float_set_from_hashtable -gtk_form_field_get_field_name -gtk_form_field_get_form_widget (Returns) -gtk_form_field_get_type -gtk_form_field_get_value -gtk_form_field_get_value_sql -gtk_form_field_get_value_stringify -gtk_form_field_integer_clear -gtk_form_field_integer_get_type -gtk_form_field_integer_get_value -gtk_form_field_integer_get_value_sql -gtk_form_field_integer_get_value_stringify -gtk_form_field_integer_is_changed -gtk_form_field_integer_is_empty -gtk_form_field_integer_new -gtk_form_field_integer_set_as_origin -gtk_form_field_integer_set_from_datamodel -gtk_form_field_integer_set_from_hashtable -gtk_form_field_is_auto_increment -gtk_form_field_is_changed -gtk_form_field_is_empty -gtk_form_field_is_to_load -gtk_form_field_is_to_save -gtk_form_field_new -gtk_form_field_new_from_gtk_form_widget -gtk_form_field_set_from_datamodel -gtk_form_field_set_from_hashtable -gtk_form_field_text_clear -gtk_form_field_text_get_type -gtk_form_field_text_get_value -gtk_form_field_text_get_value_sql -gtk_form_field_text_get_value_stringify -gtk_form_field_text_is_changed -gtk_form_field_text_is_empty -gtk_form_field_text_new -gtk_form_field_text_set_as_origin -gtk_form_field_text_set_from_datamodel -gtk_form_field_text_set_from_hashtable -gtk_form_filed_boolean_is_changed -gtk_form_fill_from_datamodel -gtk_form_fill_from_hashtable -gtk_form_fill_from_table -gtk_form_get_form_field_from_name -gtk_form_get_form_field_from_widget -gtk_form_get_form_field_value_by_name -gtk_form_get_form_field_value_sql_by_name -gtk_form_get_form_field_value_stringify_by_name -gtk_form_get_form_widget_from_name -gtk_form_get_form_widget_from_widget -gtk_form_get_form_widget_value_by_name -gtk_form_get_form_widget_value_sql_by_name -gtk_form_get_form_widget_value_stringify_by_name -gtk_form_get_group_by_name -gtk_form_get_gtkbuilder -gtk_form_get_key -gtk_form_get_objects_by_name -gtk_form_get_sql -gtk_form_get_table -gtk_form_get_type -gtk_form_get_values_as_hashtable -gtk_form_get_widget_from_form_field_name -gtk_form_get_widget_from_form_widget_name -gtk_form_get_widgets -gtk_form_group_add_field -gtk_form_group_add_widget -gtk_form_group_clear -gtk_form_group_get_name -gtk_form_group_get_type -gtk_form_group_new -gtk_form_group_set_from_datamodel -gtk_form_group_set_from_hashtable -gtk_form_is_changed -gtk_form_key_add_field -gtk_form_key_add_fields -gtk_form_key_check -gtk_form_key_field_is_key -gtk_form_key_get_sql -gtk_form_key_get_type -gtk_form_key_new -gtk_form_key_remove_field -gtk_form_load_from_file -gtk_form_load_from_xml -gtk_form_new -gtk_form_new_from_file -gtk_form_new_from_xml -gtk_form_remove_field -gtk_form_set_editable -gtk_form_set_form_widget_visible_by_name -gtk_form_set_form_widgets_visible_by_name -gtk_form_set_key -gtk_form_set_sensitive -gtk_form_set_sensitive_by_name -gtk_form_set_table -gtk_form_set_visible_by_name -gtk_form_widget_add_on_change_op -gtk_form_widget_check_get_type -gtk_form_widget_check_get_value_stringify -gtk_form_widget_check_new -gtk_form_widget_check_set_editable -gtk_form_widget_check_set_value_stringify -gtk_form_widget_combo_box_fill_from_datamodel -gtk_form_widget_combo_box_fill_from_sql -gtk_form_widget_combo_box_get_type -gtk_form_widget_combo_box_get_value_stringify -gtk_form_widget_combo_box_new -gtk_form_widget_combo_box_set_editable -gtk_form_widget_combo_box_set_value_stringify -gtk_form_widget_entry_get_type -gtk_form_widget_entry_get_value_stringify -gtk_form_widget_entry_new -gtk_form_widget_entry_set_editable -gtk_form_widget_entry_set_value_stringify -gtk_form_widget_get_label -gtk_form_widget_get_type -gtk_form_widget_get_value_stringify -gtk_form_widget_get_widget -gtk_form_widget_get_widget_name -gtk_form_widget_label_get_type -gtk_form_widget_label_get_value_stringify -gtk_form_widget_label_new -gtk_form_widget_label_set_value_stringify -gtk_form_widget_new -gtk_form_widget_radio_get_return_value -gtk_form_widget_radio_get_type -gtk_form_widget_radio_get_value_stringify -gtk_form_widget_radio_new -gtk_form_widget_radio_set_editable -gtk_form_widget_radio_set_return_value -gtk_form_widget_radio_set_value_stringify -gtk_form_widget_set_editable -gtk_form_widget_set_from_gtkbuilder -gtk_form_widget_set_label -gtk_form_widget_set_value_stringify -gtk_form_widget_set_visible -gtk_form_widget_spin_get_type -gtk_form_widget_spin_get_value_stringify -gtk_form_widget_spin_new -gtk_form_widget_spin_set_editable -gtk_form_widget_spin_set_value_stringify -gtk_form_widget_textview_get_type -gtk_form_widget_textview_get_value_stringify -gtk_form_widget_textview_new -gtk_form_widget_textview_set_editable -gtk_form_widget_textview_set_value_stringify - - -field:Long_Description -field:Short_Description -fieldboolean:Long_Description -fieldboolean:Short_Description -fielddatetime:Long_Description -fielddatetime:Short_Description -fieldfloat:Long_Description -fieldfloat:Short_Description -fieldinteger:Short_Description -fieldtext:Long_Description -fieldtext:Short_Description -form:Long_Description -form:Short_Description -group:Long_Description -group:Short_Description -key:Long_Description -key:Short_Description -widget:Long_Description -widget:Short_Description -widgetcheck:Long_Description -widgetcheck:Short_Description -widgetcombobox:Long_Description -widgetcombobox:Short_Description -widgetentry:Long_Description -widgetentry:Short_Description -widgetlabel:Long_Description -widgetlabel:Short_Description -widgetradio:Long_Description -widgetradio:Short_Description -widgetspin:Long_Description -widgetspin:Short_Description -widgettextview:Long_Description -widgettextview:Short_Description diff --git a/docs/reference/libgtkform-unused.txt b/docs/reference/libgtkform-unused.txt deleted file mode 100644 index e69de29..0000000 diff --git a/docs/reference/libgtkform.args b/docs/reference/libgtkform.args deleted file mode 100644 index 091277f..0000000 --- a/docs/reference/libgtkform.args +++ /dev/null @@ -1,260 +0,0 @@ - -GtkForm::gdaex -gpointer - -rw -GdaEx object -GdaEx object. - - - - -GtkForm::key -GtkFormKey* - -rw -Key -Key. - - - - -GtkForm::quote -gchar - -rwx -Quoting character -Character to use to quote fields name. -34 - - - -GtkForm::table -gchar* - -rwx -Table name -GtkForm's table name. -"" - - - -GtkFormField::auto-increment -gboolean - -rwx -Auto increment -Whether the field auto increments (works only on numeric fields). -FALSE - - - -GtkFormField::field -gchar* - -rw -Field -Field's name. -"" - - - -GtkFormField::form-widget -GtkFormWidget* - -rw -GtkFormWidget -The GtkFormWidget. - - - - -GtkFormField::obligatory -gboolean - -rwx -Obligatory -Whether the field could be empty. -FALSE - - - -GtkFormField::to-load -gboolean - -rwx -Whether load the field or not -Whether the field should be included or not on sql SELECT. -TRUE - - - -GtkFormField::to-save -gboolean - -rwx -Whether save the field or not -Whether the field should be included or not on sql INSERT INTO and UPDATE. -TRUE - - - -GtkFormField::trim -gboolean - -rwx -Trim stringify value -Whether to trim the field's stringify value. -FALSE - - - -GtkFormFieldBoolean::default -gboolean - -rwx -Default -Default value. -FALSE - - - -GtkFormFieldDateTime::default -gpointer - -rwx -Default -Default value. - - - - -GtkFormFieldDateTime::display-format -gchar* - -rwx -Display format -Display format. -"%Y-%m-%d %H:%M:%S" - - - -GtkFormFieldDateTime::type -gint - -rwx -Type -Type. -0 - - - -GtkFormFieldFloat::default -gfloat - -rwx -Default -Default value. -0 - - - -GtkFormFieldInteger::default -gint - -rwx -Default -Default value. -0 - - - -GtkFormFieldText::default -gchar* - -rwx -Default -Default value. -"" - - - -GtkFormWidget::field -GtkFormField* - -rw -GtkFormField -The GtkFormField. - - - - -GtkFormWidget::form -GtkForm* - -rw -GtkForm -The GtkForm. - - - - -GtkFormWidget::label -GtkWidget* - -rw -GtkLabel -The GtkLabel. - - - - -GtkFormWidget::widget -GtkWidget* - -rw -GtkWidget -The GtkWidget. - - - - -GtkFormWidget::widget-name -gchar* - -rw -Widget's name -Widget's name. -"" - - - -GtkFormWidgetRadio::return-value -gchar* - -rwx -Return value -Return value. -"" - - - -GtkFormWidgetComboBox::column-field -gint - -rw -Column Field -Column's Field. -0 - - - -GtkFormGroup::name -gchar* - -rw -Group's name' -Group's name. -"" - - diff --git a/docs/reference/libgtkform.hierarchy b/docs/reference/libgtkform.hierarchy deleted file mode 100644 index ec3e4ce..0000000 --- a/docs/reference/libgtkform.hierarchy +++ /dev/null @@ -1,25 +0,0 @@ -GObject - GtkForm - GtkFormField - GtkFormFieldBoolean - GtkFormFieldDateTime - GtkFormFieldFloat - GtkFormFieldInteger - GtkFormFieldText - GtkFormKey - GtkFormWidget - GtkFormWidgetCheck - GtkFormWidgetEntry - GtkFormWidgetLabel - GtkFormWidgetRadio - GtkFormWidgetSpin - GtkFormWidgetTextview - GtkFormWidgetComboBox - GtkFormGroup - GInitiallyUnowned - GtkObject - GtkWidget -GInterface - GTypePlugin - AtkImplementorIface - GtkBuildable diff --git a/docs/reference/libgtkform.interfaces b/docs/reference/libgtkform.interfaces deleted file mode 100644 index 7322435..0000000 --- a/docs/reference/libgtkform.interfaces +++ /dev/null @@ -1 +0,0 @@ -GtkWidget AtkImplementorIface GtkBuildable diff --git a/docs/reference/libgtkform.prerequisites b/docs/reference/libgtkform.prerequisites deleted file mode 100644 index e69de29..0000000 diff --git a/docs/reference/libgtkform.signals b/docs/reference/libgtkform.signals deleted file mode 100644 index e69de29..0000000 diff --git a/src/fieldboolean.c b/src/fieldboolean.c index ae34298..47a23ae 100644 --- a/src/fieldboolean.c +++ b/src/fieldboolean.c @@ -76,6 +76,7 @@ gtk_form_field_boolean_class_init (GtkFormFieldBooleanClass *klass) field_class->is_changed = gtk_form_filed_boolean_is_changed; field_class->set_as_origin = gtk_form_field_boolean_set_as_origin; field_class->set_from_datamodel = gtk_form_field_boolean_set_from_datamodel; + field_class->set_from_hashtable = gtk_form_field_boolean_set_from_hashtable; g_object_class_install_property (object_class, PROP_DEFAULT, g_param_spec_boolean ("default", @@ -151,7 +152,7 @@ GValue { ret = g_malloc0 (sizeof (GValue)); g_value_init (ret, G_TYPE_BOOLEAN); - g_value_set_boolean (ret, strtol (value, NULL, 10)); + g_value_set_boolean (ret, gtk_form_field_boolean_str_to_boolean (value)); g_free (value); } @@ -389,6 +390,11 @@ gtk_form_field_boolean_str_to_boolean (const gchar *value) gchar *str_value; gboolean bool_value = FALSE; + if (value == NULL) + { + return bool_value; + } + str_value = g_strstrip (g_strdup (value)); if (strcmp (str_value, "0") == 0 diff --git a/src/fieldtext.c b/src/fieldtext.c index daa9ed0..e6d4517 100644 --- a/src/fieldtext.c +++ b/src/fieldtext.c @@ -348,7 +348,7 @@ gtk_form_field_text_set_from_hashtable (GtkFormField *field, GHashTable *hashtab } else { - ret = gtk_form_field_text_set_value_stringify (field, priv->original_value); + ret = gtk_form_field_text_set_value_stringify (field, g_value_get_string (gval)); priv->original_value = gtk_form_field_text_get_value_stringify (field); } g_free (field_name); diff --git a/src/form.c b/src/form.c index 183a48c..1249f41 100644 --- a/src/form.c +++ b/src/form.c @@ -2000,7 +2000,10 @@ gtk_form_fill_from_hashtable (GtkForm *form, GHashTable *hashtable) { field = (GtkFormField *)fields->data; - gtk_form_field_set_from_hashtable (field, hashtable); + if (gtk_form_field_is_to_load (field)) + { + gtk_form_field_set_from_hashtable (field, hashtable); + } fields = g_slist_next (fields); } -- 2.49.0