From 51938467875cf6c8a86cb24c28f9aba341ebc42c Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 11 Nov 2022 11:21:17 +0000 Subject: [PATCH] docs: Add links to the list widgets table Make it easier for readers to go to the appropriate replacement for the old GtkTreeView-and-friends API. --- docs/reference/gtk/section-list-widget.md | 40 +++++++++++------------ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/docs/reference/gtk/section-list-widget.md b/docs/reference/gtk/section-list-widget.md index 3bd3b6fe73..0be72e7f18 100644 --- a/docs/reference/gtk/section-list-widget.md +++ b/docs/reference/gtk/section-list-widget.md @@ -229,24 +229,24 @@ specialized requirements. Finally here's a quick list of equivalent functionality to look for when transitioning code for easy lookup: -| 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` | `GtkListItemWidget` | -| `GtkComboBox` | `GtkDropDown` | -| `GtkIconView` | `GtkGridView` | -| `GtkTreeSortable` | `GtkColumnView` | -| `GtkTreeModelSort` | `GtkSortListModel` | -| `GtkTreeModelFilter` | `GtkFilterListModel` | -| `GtkCellLayout` | `GtkListItemFactory` | -| `GtkCellArea` | `GtkWidget` | -| `GtkCellRenderer` | `GtkWidget` | +| Old | New | +| -------------------- | ------------------------------------------------------- | +| `GtkTreeModel` | [`iface@Gio.ListModel`] | +| `GtkTreePath` | `guint` position, [`class@Gtk.TreeListRow`] | +| `GtkTreeIter` | `guint` position | +| `GtkTreeRowReference`| [`class@GObject.Object`] item | +| `GtkListStore` | [`class@Gio.ListStore`] | +| `GtkTreeStore` | [`class@Gtk.TreeListModel`], [`class@Gtk.TreeExpander`] | +| `GtkTreeSelection` | [`iface@Gtk.SelectionModel`] | +| `GtkTreeViewColumn` | [`class@Gtk.ColumnView`] | +| `GtkTreeView` | [`class@Gtk.ListView`], [`class@Gtk.ColumnView`] | +| `GtkCellView` | [`class@Gtk.ListItem`] | +| `GtkComboBox` | [`class@Gtk.DropDown`] | +| `GtkIconView` | [`class@Gtk.GridView`] | +| `GtkTreeSortable` | [`class@Gtk.ColumnView`] | +| `GtkTreeModelSort` | [`class@Gtk.SortListModel`] | +| `GtkTreeModelFilter` | [`class@Gtk.FilterListModel`] | +| `GtkCellLayout` | [`class@Gtk.ListItemFactory`] | +| `GtkCellArea` | [`class@Gtk.Widget`] | +| `GtkCellRenderer` | [`class@Gtk.Widget`] | -- 2.30.2