Merge branch 'bilelmoussaoui/for-gi-docgen-grid' into 'master'

docs: fix gtk grid formatting

See merge request GNOME/gtk!3603
This commit is contained in:
Matthias Clasen 2021-05-27 10:31:24 +00:00
commit 4362f7e6e2

View File

@ -54,8 +54,8 @@
* # GtkGrid as GtkBuildable * # GtkGrid as GtkBuildable
* *
* Every child in a `GtkGrid` has access to a custom [iface@Gtk.Buildable] * Every child in a `GtkGrid` has access to a custom [iface@Gtk.Buildable]
* element, called ´<layout>´. It can by used to specify a position in the * element, called `<layout>`. It can by used to specify a position in the
* grid and optionally spans. All properties that can be used in the ´<layout>´ * grid and optionally spans. All properties that can be used in the `<layout>`
* element are implemented by [class@Gtk.GridLayoutChild]. * element are implemented by [class@Gtk.GridLayoutChild].
* *
* It is implemented by `GtkWidget` using [class@Gtk.LayoutManager]. * It is implemented by `GtkWidget` using [class@Gtk.LayoutManager].
@ -107,9 +107,9 @@
* *
* It organizes the first two buttons side-by-side in one cell each. * It organizes the first two buttons side-by-side in one cell each.
* The third button is in the last column but spans across two rows. * The third button is in the last column but spans across two rows.
* This is defined by the ´row-span´ property. The last button is * This is defined by the `row-span` property. The last button is
* located in the second row and spans across two columns, which is * located in the second row and spans across two columns, which is
* defined by the ´column-span´ property. * defined by the `column-span` property.
* *
* # CSS nodes * # CSS nodes
* *
@ -593,8 +593,8 @@ gtk_grid_attach (GtkGrid *grid,
* left or right placement) or column 0 (for top or bottom placement), * left or right placement) or column 0 (for top or bottom placement),
* at the end indicated by @side. * at the end indicated by @side.
* *
* Attaching widgets labeled [1], [2], [3] with @sibling == %NULL and * Attaching widgets labeled `[1]`, `[2]`, `[3]` with `@sibling == %NULL` and
* @side == %GTK_POS_LEFT yields a layout of [3][2][1]. * `@side == %GTK_POS_LEFT` yields a layout of `[3][2][1]`.
*/ */
void void
gtk_grid_attach_next_to (GtkGrid *grid, gtk_grid_attach_next_to (GtkGrid *grid,