docs: Add links to the list widgets table
authorEmmanuele Bassi <ebassi@gnome.org>
Fri, 11 Nov 2022 11:21:17 +0000 (11:21 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Fri, 11 Nov 2022 11:21:17 +0000 (11:21 +0000)
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

index 3bd3b6fe73cc7ba9ba064d855eed07ed89ba33d1..0be72e7f185b5957400f80712bbc57f0b3e0d752 100644 (file)
@@ -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`]                                    |