diff --git a/docs/reference/gtk/migrating-3to4.md b/docs/reference/gtk/migrating-3to4.md index a97f9ea8bb..ad0f248c18 100644 --- a/docs/reference/gtk/migrating-3to4.md +++ b/docs/reference/gtk/migrating-3to4.md @@ -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 `` in ui files, you have +to switch to using `` 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 |