Commit Graph

34 Commits

Author SHA1 Message Date
Jean Sirmai 3c3f74e46e
WIP: tree_store.c:217:48: attention: argument 1 de : gtk_tree_view_new_with_model : pointeur incompatible 2023-12-18 12:19:17 +01:00
Jean Sirmai 2f1cd99bfb
WIP: GtkTreeStore * attendu mais l'argument est de type GtkTreeStore. Ma qué ? 2023-12-18 12:05:25 +01:00
Jean Sirmai 3430bd25fe
WIP: tree_model = create_node_recursive ((GtkTreeModel) tree_store, O); << pb de casting ? 2023-12-18 10:17:55 +01:00
Jean Sirmai 5e870ae870
WIP: TreeItem create_node_recursive (GtkTreeStore *model, TreeItem *current_item) {...} 2023-12-18 09:38:59 +01:00
Jean Sirmai 9da50fa49b
WIP: Construction itérative de l'arbre. Préparation de la construction récursive. 2023-12-18 08:49:36 +01:00
Jean Sirmai 0ed20386a7
WIP: gtk_tree_view_set_reorderable (GTK_TREE_VIEW (treeview), TRUE); 2023-12-16 18:19:54 +01:00
Jean Sirmai aa5ca0711f
WIP: Construction itérative de l'arbre. _append() et _set() dans iterate_node() (cleaning +) 2023-12-16 13:17:23 +01:00
Jean Sirmai d9745c0f6e
WIP: Construction itérative de l'arbre. _append() et _set() dans iterate_node() (cleaning) 2023-12-16 13:16:41 +01:00
Jean Sirmai 7278567729
WIP: Construction itérative de l'arbre. _append() et _set() dans iterate_node() 2023-12-16 13:11:50 +01:00
Jean Sirmai c00e97b4bd
WIP: transtyper model de GtkTreeStore en GtkTreeIter ? (ligne 96) 2023-12-16 10:38:34 +01:00
Jean Sirmai 3b5b5585d5
WIP: What the f...? Quand les iterateurs sont-ils egaux aux items ?! 2023-12-16 09:48:16 +01:00
Jean Sirmai 7efd6ee795
WIP: Is a more symetrical iteration possible ? line 92 GtkTreeIter * / GtkTreeStore * 2023-12-16 09:12:06 +01:00
Jean Sirmai 2132b0a7b4
WIP: before recursion, a perfect iteration ? (is OK) 2023-12-16 08:45:54 +01:00
Jean Sirmai 1d1b1fa744
WIP: preparing the recursive loop that builds the tree (0) 2023-12-16 08:30:28 +01:00
Jean Sirmai 8c3884e619
WIP: fonction iterate_node() premier micro-commit 2023-12-15 23:24:39 +01:00
Jean Sirmai 9d5a1ed25a
WIP: (micro) before creating a new function to iterate a node 2023-12-15 23:11:47 +01:00
Jean Sirmai 11c893d2c7
PROFONDEUR DE L'ARBRE (1ère fois) 2023-12-15 22:52:41 +01:00
Jean Sirmai cdc891823f
WIP: simplifications removing COLUMN_1 (ok) 2023-12-15 21:49:58 +01:00
Jean Sirmai 8891d5adfe
WIP: simplifications (TreeItem notation) 57-60 2023-12-15 11:31:09 +01:00
Jean Sirmai f6affc1ebf
WIP: simplifications removing COLUMN_1 2023-12-15 11:12:24 +01:00
Jean Sirmai db3043c274
WIP: simplifications removing the gboolean in struct _TreeItem 2023-12-15 11:02:53 +01:00
Jean Sirmai 8cc77af4f5
WIP: simplifications removing the so called 'VISIBLE_COLUMN' 2023-12-15 10:54:05 +01:00
Jean Sirmai cfc2db00d0
WIP: simplifications removing the 'WORLD_COLUMN' 2023-12-15 10:23:47 +01:00
Jean Sirmai dd37063fff
WIP: simplifications in add_columns(): gtk_cell_renderer_toggle_new() replaced by 'text' 2023-12-15 10:18:09 +01:00
Jean Sirmai f0b8b70bfb
WIP: simplifications in add_columns() 2023-12-15 10:12:13 +01:00
Jean Sirmai cc899e13c9
WIP: before removing item_toggled() 2023-12-14 12:15:49 +01:00
Jean Sirmai 271206f4ec
WIP: simplifications gtk-demo/tree_store.c remove: WORLD_COLUMN ? 2023-12-13 12:06:42 +01:00
Jean Sirmai 0c2f313a3b
WIP: simplifications dans builddir/demos/gtk-demo/tree_store.c 2023-12-13 11:53:11 +01:00
Jean Sirmai 3e52de8a09
WIP: simplifications dans builddir/demos/gtk-demo/demos.h 2023-12-13 09:30:00 +01:00
Jean Sirmai db225bd732
Learning GTK4 Trees _ initial commit (suite) > The Perfect Learning Loop. 2023-12-12 19:49:20 +01:00
Jean Sirmai 375d658cc8
Learning GTK4 Trees _ initial commit (+ simple & light loop) 2023-12-12 19:02:08 +01:00
Jean Sirmai 1a02d93f20
Learning GTK4 Trees _ initial commit (+ simple loop) 2023-12-12 18:40:36 +01:00
Jean Sirmai 8f56c928b1
Learning GTK4 Trees _ initial commit 2023-12-12 12:47:28 +01:00
Jean Sirmai c07ee22637
initial 2023-12-12 11:36:42 +01:00