/*
* gdaex.c
*
- * Copyright (C) 2005-2020 Andrea Zagli <azagli@libero.it>
+ * Copyright (C) 2005-2025 Andrea Zagli <azagli@libero.it>
*
* This file is part of libgdaex.
*
gdaex_fill_treemodel_from_datamodel_with_missing_func (gdaex, store, dm, cols_formatted, format_func, NULL, NULL);
}
-G_DEPRECATED_FOR (gdaex_fill_treemodel_from_sql_with_missing_func)
-void
-gdaex_fill_liststore_from_sql_with_missing_func (GdaEx *gdaex,
- GtkListStore *lstore,
- const gchar *sql,
- guint *cols_formatted,
- GdaExColsFormatFunc format_func,
- GdaExFillListStoreMissingFunc missing_func, gpointer user_data)
-{
- GdaDataModel *dm;
-
- gchar *_sql;
-
- g_return_if_fail (IS_GDAEX (gdaex));
- g_return_if_fail (sql != NULL);
-
- _sql = g_strstrip (g_strdup (sql));
-
- g_return_if_fail (g_strcmp0 (_sql, "") != 0);
-
- dm = gdaex_query (gdaex, _sql);
- g_free (_sql);
- gdaex_fill_liststore_from_datamodel_with_missing_func (gdaex, lstore, dm, cols_formatted, format_func, missing_func, user_data);
- g_object_unref (dm);
-}
-
-G_DEPRECATED_FOR (gdaex_fill_treemodel_from_datamodel_with_missing_func)
-void
-gdaex_fill_liststore_from_datamodel_with_missing_func (GdaEx *gdaex,
- GtkListStore *lstore,
- GdaDataModel *dm,
- guint *cols_formatted,
- GdaExColsFormatFunc format_func,
- GdaExFillListStoreMissingFunc missing_func, gpointer user_data)
-{
- gdaex_fill_treemodel_from_datamodel_with_missing_func (gdaex, GTK_TREE_MODEL (lstore), dm, cols_formatted, format_func, missing_func, user_data);
-}
-
-G_DEPRECATED_FOR (gdaex_fill_treemodel_from_sql)
-void
-gdaex_fill_liststore_from_sql (GdaEx *gdaex,
- GtkListStore *lstore,
- const gchar *sql,
- guint *cols_formatted,
- GdaExColsFormatFunc format_func)
-{
- gdaex_fill_liststore_from_sql_with_missing_func (gdaex, lstore, sql, cols_formatted, format_func, NULL, NULL);
-}
-
-G_DEPRECATED_FOR (gdaex_fill_treemodel_from_datamodel)
-void
-gdaex_fill_liststore_from_datamodel (GdaEx *gdaex,
- GtkListStore *lstore,
- GdaDataModel *dm,
- guint *cols_formatted,
- GdaExColsFormatFunc format_func)
-{
- gdaex_fill_liststore_from_datamodel_with_missing_func (gdaex, lstore, dm, cols_formatted, format_func, NULL, NULL);
-}
-
GdaSqlBuilder
*gdaex_get_gda_sqlbuilder_from_hashtable (GdaEx *gdaex,
GdaExSqlType sqltype,
/*
* gdaex.h
*
- * Copyright (C) 2005-2020 Andrea Zagli <azagli@libero.it>
+ * Copyright (C) 2005-2025 Andrea Zagli <azagli@libero.it>
*
* This file is part of libgdaex.
*
guint *cols_formatted,
GdaExColsFormatFunc format_func);
-G_DEPRECATED_FOR (GdaExFillTreeModelMissingFunc)
-typedef void (*GdaExFillListStoreMissingFunc) (GtkListStore *lstore, GtkTreeIter *iter, gpointer user_data);
-
-G_DEPRECATED_FOR (gdaex_fill_treemodel_from_sql_with_missing_func)
-void gdaex_fill_liststore_from_sql_with_missing_func (GdaEx *gdaex,
- GtkListStore *lstore,
- const gchar *sql,
- guint *cols_formatted,
- GdaExColsFormatFunc format_func,
- GdaExFillListStoreMissingFunc missing_func, gpointer user_data);
-
-G_DEPRECATED_FOR (gdaex_fill_treemodel_from_datamodel_with_missing_func)
-void gdaex_fill_liststore_from_datamodel_with_missing_func (GdaEx *gdaex,
- GtkListStore *lstore,
- GdaDataModel *dm,
- guint *cols_formatted,
- GdaExColsFormatFunc format_func,
- GdaExFillListStoreMissingFunc missing_func, gpointer user_data);
-
-G_DEPRECATED_FOR (gdaex_fill_treemodel_from_sql)
-void gdaex_fill_liststore_from_sql (GdaEx *gdaex,
- GtkListStore *lstore,
- const gchar *sql,
- guint *cols_formatted,
- GdaExColsFormatFunc format_func);
-
-G_DEPRECATED_FOR (gdaex_fill_treemodel_from_datamodel)
-void gdaex_fill_liststore_from_datamodel (GdaEx *gdaex,
- GtkListStore *lstore,
- GdaDataModel *dm,
- guint *cols_formatted,
- GdaExColsFormatFunc format_func);
-
typedef enum
{
GDAEX_SQL_SELECT,