From 348d4877cb62cb64cd2cf914dcfcad73d85e789b Mon Sep 17 00:00:00 2001 From: Jean Sirmai Date: Tue, 30 Jan 2024 00:00:32 +0100 Subject: [PATCH] WIP: cleaning --- src/ui/sand_box.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/sand_box.c b/src/ui/sand_box.c index bd409b3..ac3cfaa 100644 --- a/src/ui/sand_box.c +++ b/src/ui/sand_box.c @@ -106,9 +106,10 @@ static void and_now_let_s_climb_that_tree (GtkWidget *in_that_box) // GListModel *(* GtkTreeListModelCreateModelFunc) (GObject* item, gpointer user_data) // remplacerait gtk_string_list_new() ? // https://docs.gtk.org/gtk4/callback.TreeListModelCreateModelFunc.html +// https://docs.gtk.org/gtk4/method.TreeListRow.set_expanded.html GtkTreeListModel *my_tree_list_model = gtk_tree_list_model_new (my_selection_model, 1, 1, item_create_func, NULL, NULL); - printf("\n"); + printf("in : GListModel *item_create_func (gpointer item,...) (line 80)\n"); GtkWidget *my_list_view = gtk_list_view_new (GTK_SELECTION_MODEL (my_selection_model), my_list_item_factory); // GtkWidget *my_tree_view = gtk_tree_view_new ();