WIP: cleaning

This commit is contained in:
Jean Sirmai 2024-01-30 00:00:32 +01:00
parent 2d64975c22
commit 348d4877cb
Signed by: jean
GPG Key ID: FB3115C340E057E3
1 changed files with 2 additions and 1 deletions

View File

@ -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 ();