WIP: cleaning
This commit is contained in:
parent
2d64975c22
commit
348d4877cb
|
@ -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() ?
|
// 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/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);
|
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_list_view = gtk_list_view_new (GTK_SELECTION_MODEL (my_selection_model), my_list_item_factory);
|
||||||
// GtkWidget *my_tree_view = gtk_tree_view_new ();
|
// GtkWidget *my_tree_view = gtk_tree_view_new ();
|
||||||
|
|
Loading…
Reference in New Issue