From b734ab99d487a69dbd918964e5218cff29113f0e Mon Sep 17 00:00:00 2001 From: Jean Sirmai Date: Mon, 25 Dec 2023 19:16:52 +0100 Subject: [PATCH] =?UTF-8?q?The=20quick=20comparison=20chart=20of=20equival?= =?UTF-8?q?ent=20functionalities=20=20=F0=9F=98=AE=EF=B8=8F=F0=9F=98=83?= =?UTF-8?q?=EF=B8=8F=F0=9F=98=87=EF=B8=8F=20https://docs.gtk.org/gtk4/sect?= =?UTF-8?q?ion-list-widget.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demos/gtk-demo/tree_store.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/demos/gtk-demo/tree_store.c b/demos/gtk-demo/tree_store.c index 52b6034..86683e9 100644 --- a/demos/gtk-demo/tree_store.c +++ b/demos/gtk-demo/tree_store.c @@ -25,6 +25,11 @@ /* It provides a way to specify how temporary widgets should be configured for editing, get the new value, etc. */ /* _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ */ /* _ _ _ _ _ _ _ _ _ _ _ _ _ _ T R E E _ _ _ _ _ _ _ _ _ _ _ _ _ _ */ +/* https://docs.gtk.org/gtk4/ */ +/* https://docs.gtk.org/gtk4/section-tree-widget.html */ +/* https://docs.gtk.org/gtk4/section-list-widget.html << (see below the "quick comparison chart of equivalent functionalities") */ +/* https://docs.gtk.org/gtk4/class.TreeListModel.html */ +/* */ /* */ /* https://developer-old.gnome.org/gtk4/stable/GtkTreeView.html */ /* https://en.wikibooks.org/wiki/GTK%2B_By_Example/Tree_View/Custom_Models */ @@ -38,6 +43,33 @@ /****************************************************************************************************************************************/ + +/* ... Finally here’s a quick comparison chart of equivalent functionalitqy + to look for when transitioning code: + + Old New + .................................................................. + GtkTreeModel GListModel + GtkTreePath guint position, GtkTreeListRow + GtkTreeIter guint position + GtkTreeRowReference GObject item + GtkListStore GListStore + GtkTreeStore GtkTreeListModel, GtkTreeExpander + GtkTreeSelection GtkSelectionModel + GtkTreeViewColumn GtkColumnView + GtkTreeView GtkListView, GtkColumnView + GtkCellView GtkListItem + GtkComboBox GtkDropDown + GtkIconView GtkGridView + GtkTreeSortable GtkColumnView + GtkTreeModelSort GtkSortListModel + GtkTreeModelFilter GtkFilterListModel + GtkCellLayout GtkListItemFactory + GtkCellArea GtkWidget + GtkCellRenderer GtkWidget +..............................................................................*/ + + #include #include #include "config.h"