Merge branch 'main' into 'main'

Add note about widgets implementing the interface adding the `horizontal`/`vertical` CSS classes

See merge request GNOME/gtk!5391
This commit is contained in:
Matthias Clasen 2023-02-12 16:28:12 +00:00
commit 0c2b437643

View File

@ -36,6 +36,13 @@
*
* `GtkOrientable` is more flexible in that it allows the orientation to be
* changed at runtime, allowing the widgets to flip.
*
* ## CSS nodes
*
* `GtkWidget` types implementing the `GtkOrientable` interface will
* automatically acquire the `horizontal` or `vertical` CSS class depending on
* the value of the [property@Gtk.Orientable:orientation] property.
*/