Apply 6 suggestion(s) to 1 file(s)

This commit is contained in:
FeRD (Frank Dana) 2022-10-19 01:32:19 +00:00 committed by Megadash452
parent 4dd55ab2aa
commit cce1af5f09

View file

@ -127,7 +127,7 @@ Enum Properties
In the Gtk documentation, enum variants have long names and are In the Gtk documentation, enum variants have long names and are
capitalized. For example, these are the capitalized. For example, these are the
`Link Orientation <https://docs.gtk.org/gtk4/enum.Orientation.html>`_ `Orientation <https://docs.gtk.org/gtk4/enum.Orientation.html>`_
enum variants: enum variants:
- GTK_ORIENTATION_HORIZONTAL - GTK_ORIENTATION_HORIZONTAL
@ -195,11 +195,11 @@ binding.
.. code-block:: .. code-block::
Box my-box { Box my-box {
hexpand: true; // Source hexpand: true; // Source
} }
Button { Button {
vexpand: bind my-box.hexpand inverted bidirectional; // Target vexpand: bind my-box.hexpand inverted bidirectional; // Target
} }
no-sync-create no-sync-create
@ -283,7 +283,7 @@ CSS Style Classes
----------------- -----------------
.. Unsure if to group styles with widget-specific items .. Unsure if to group styles with widget-specific items
Widgets can be given style classes that can be used with your CSS or Widgets can be given style classes that can be used with your CSS or
`Link predefined styles <https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.2/style-classes.html>`_ `predefined styles <https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.2/style-classes.html>`_
in libraries like Libadwaita. in libraries like Libadwaita.
.. code-block:: .. code-block::
@ -320,7 +320,7 @@ be used for any widget. Similarly to how every widget has styles,
] ]
} }
See the `Link examples page <examples.html>`_ for a list of more of these See `examples <examples.html>`_ for a list of more of these
widget-specific items. 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 `menu` is a `Gio.MenuModel` that can be shown by MenuButtons or other
widgets. widgets.
Similarly to how it is explained in In Blueprint, `menu`s have *items*, *sections*, and *submenus*.
`Link Gtk.PopoverMenu <https://docs.gtk.org/gtk4/class.PopoverMenu.html#menu-models>`_, Like widgets, `menu`s can also be given a **name**.
in Blueprint `menu`s have *items*, *sections*, and *submenus*. `Menu`s can The `Menu Model section of the Gtk.PopoverMenu documentation <https://docs.gtk.org/gtk4/class.PopoverMenu.html#menu-models>`_
also be given a **name** like a widget. Please read the **Menu Model** has complete details on the menu model.
section of `Gtk.PopoverMenu` for more details on the menu model.
Here is an example of a menu: Here is an example of a menu:
@ -449,4 +448,4 @@ translate to "tener" or "haber".
label: C_("have", "2nd have"); label: C_("have", "2nd have");
} }
See `Link translations page <translations.html>`_ for more details. See `translations <translations.html>`_ for more details.