mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
docs: Mention <packing> in migration guide
Add another hint for what to do with child properties. Fixes: #3950
This commit is contained in:
parent
036dd60a4e
commit
c4cbd6ec1b
@ -804,6 +804,11 @@ by a layout manager (if they are layout-related), or handled in some
|
||||
other way. One possibility is to use child meta objects, as seen with
|
||||
[class@Gtk.AssistantPage], [class@Gtk.StackPage] and the like.
|
||||
|
||||
If you used to define child properties with `<packing>` in ui files, you have
|
||||
to switch to using `<layout>` for the corresponding layout properties.
|
||||
`gtk4-builder-tool` can help with this conversion, with the `--3to4` option
|
||||
of the `simplify` command.
|
||||
|
||||
The replacements for gtk_container_add() are:
|
||||
|
||||
| Widget | Replacement |
|
||||
|
Loading…
Reference in New Issue
Block a user