mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Apply 6 suggestion(s) to 1 file(s)
This commit is contained in:
parent
4dd55ab2aa
commit
cce1af5f09
1 changed files with 10 additions and 11 deletions
|
@ -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 <https://docs.gtk.org/gtk4/enum.Orientation.html>`_
|
||||
`Orientation <https://docs.gtk.org/gtk4/enum.Orientation.html>`_
|
||||
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 <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.
|
||||
|
||||
.. 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.
|
||||
|
||||
|
||||
|
@ -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 <https://docs.gtk.org/gtk4/class.PopoverMenu.html#menu-models>`_,
|
||||
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 <https://docs.gtk.org/gtk4/class.PopoverMenu.html#menu-models>`_
|
||||
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 <translations.html>`_ for more details.
|
||||
See `translations <translations.html>`_ for more details.
|
Loading…
Add table
Add a link
Reference in a new issue