Merge branch 'dboles/for-main' into 'main'

docs: Add/fix some links; avoid pluralisation

See merge request GNOME/gtk!6261
This commit is contained in:
Daniel Boles 2023-08-09 16:57:19 +00:00
commit ca2a2697d6
3 changed files with 9 additions and 8 deletions

View File

@ -27,9 +27,9 @@
* `GtkListHeader` is used by list widgets to represent the headers they * `GtkListHeader` is used by list widgets to represent the headers they
* display. * display.
* *
* The `GtkListHeader`s are managed just like [class@gtk.ListItem]s via * `GtkListHeader` objects are managed just like [class@Gtk.ListItem]
* their factory, but provide a different set of properties suitable for * objects via their factory, but provide a different set of properties suitable
* managing the header instead of individual items. * for managing the header instead of individual items.
* *
* Since: 4.12 * Since: 4.12
*/ */

View File

@ -27,13 +27,14 @@
/** /**
* GtkListItem: * GtkListItem:
* *
* `GtkListItem` is used by list widgets to represent items in a `GListModel`. * `GtkListItem` is used by list widgets to represent items in a
* [iface@Gio.ListModel].
* *
* The `GtkListItem`s are managed by the list widget (with its factory) * `GtkListItem` objects are managed by the list widget (with its factory)
* and cannot be created by applications, but they need to be populated * and cannot be created by applications, but they need to be populated
* by application code. This is done by calling [method@Gtk.ListItem.set_child]. * by application code. This is done by calling [method@Gtk.ListItem.set_child].
* *
* `GtkListItem`s exist in 2 stages: * `GtkListItem` objects exist in 2 stages:
* *
* 1. The unbound stage where the listitem is not currently connected to * 1. The unbound stage where the listitem is not currently connected to
* an item in the list. In that case, the [property@Gtk.ListItem:item] * an item in the list. In that case, the [property@Gtk.ListItem:item]

View File

@ -33,12 +33,12 @@
/** /**
* GtkOverlayLayout: * GtkOverlayLayout:
* *
* `GtkOverlayLayout` is the layout manager used by `GtkOverlay`. * `GtkOverlayLayout` is the layout manager used by [class@Gtk.Overlay].
* *
* It places widgets as overlays on top of the main child. * It places widgets as overlays on top of the main child.
* *
* This is not a reusable layout manager, since it expects its widget * This is not a reusable layout manager, since it expects its widget
* to be a `GtkOverlay`. It only listed here so that its layout * to be a `GtkOverlay`. It is only listed here so that its layout
* properties get documented. * properties get documented.
*/ */