WIP: What the f...? Quand les iterateurs sont-ils egaux aux items ?!

This commit is contained in:
Jean Sirmai 2023-12-16 09:48:16 +01:00
parent 7efd6ee795
commit 3b5b5585d5
Signed by: jean
GPG Key ID: FB3115C340E057E3
1 changed files with 6 additions and 3 deletions

View File

@ -74,9 +74,12 @@ iterate_node(GtkTreeStore *model,
TreeItem *item_parent, TreeItem *item_children, TreeItem *item_parent, TreeItem *item_children,
GtkTreeIter *iter_parent, GtkTreeIter *iter_children) GtkTreeIter *iter_parent, GtkTreeIter *iter_children)
{ {
printf("parent, children : %s -> %s\n", item_parent->label, item_children->label); printf("parent, children : %s -> %s %p -> %p %p -> %p\n",\
/* gtk_tree_store_append (model, &child_child_iter, &child_iter); */ item_parent->label, item_children->label,\
/* gtk_tree_store_set (model, &child_child_iter, COLUMN_0, item_2->label, -1); */ iter_parent, iter_children,
&iter_parent, &iter_children);
/* gtk_tree_store_append (model, &iter_children, &iter_parent); */
/* gtk_tree_store_set (model, &iter_children, COLUMN_0, item_children->label, -1); */
return GTK_TREE_MODEL (model); return GTK_TREE_MODEL (model);
} }