From cce1af5f093b4f3bd2490d086844487785f7d350 Mon Sep 17 00:00:00 2001 From: "FeRD (Frank Dana)" Date: Wed, 19 Oct 2022 01:32:19 +0000 Subject: [PATCH] Apply 6 suggestion(s) to 1 file(s) --- docs/tutorial.rst | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 47ed955..6274f29 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -127,7 +127,7 @@ Enum Properties In the Gtk documentation, enum variants have long names and are capitalized. For example, these are the -`Link Orientation `_ +`Orientation `_ enum variants: - GTK_ORIENTATION_HORIZONTAL @@ -195,11 +195,11 @@ binding. .. code-block:: Box my-box { - hexpand: true; // Source + hexpand: true; // Source } Button { - vexpand: bind my-box.hexpand inverted bidirectional; // Target + vexpand: bind my-box.hexpand inverted bidirectional; // Target } no-sync-create @@ -283,7 +283,7 @@ CSS Style Classes ----------------- .. Unsure if to group styles with widget-specific items Widgets can be given style classes that can be used with your CSS or -`Link predefined styles `_ +`predefined styles `_ in libraries like Libadwaita. .. code-block:: @@ -320,7 +320,7 @@ be used for any widget. Similarly to how every widget has styles, ] } -See the `Link examples page `_ for a list of more of these +See `examples `_ for a list of more of these widget-specific items. @@ -332,11 +332,10 @@ window, or pop up when you right-click some other widget. In Blueprint a `menu` is a `Gio.MenuModel` that can be shown by MenuButtons or other widgets. -Similarly to how it is explained in -`Link Gtk.PopoverMenu `_, -in Blueprint `menu`s have *items*, *sections*, and *submenus*. `Menu`s can -also be given a **name** like a widget. Please read the **Menu Model** -section of `Gtk.PopoverMenu` for more details on the menu model. +In Blueprint, `menu`s have *items*, *sections*, and *submenus*. +Like widgets, `menu`s can also be given a **name**. +The `Menu Model section of the Gtk.PopoverMenu documentation `_ +has complete details on the menu model. Here is an example of a menu: @@ -449,4 +448,4 @@ translate to "tener" or "haber". label: C_("have", "2nd have"); } -See `Link translations page `_ for more details. \ No newline at end of file +See `translations `_ for more details. \ No newline at end of file