diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-02-21 01:09:09 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-02-21 01:09:09 -0500 |
commit | 888b967d6bb794486e50c21b11aa32a5d754de23 (patch) | |
tree | fe769258bf2bf0a3a517c74eda991a9ac9210fed | |
parent | f95ed63b88e45b1a31d26b84df8b1b11e0b2b484 (diff) | |
download | gtk+-888b967d6bb794486e50c21b11aa32a5d754de23.tar.gz |
Add more info to the migration guide
Mention child metas of GtkAssistant and GtkNotebook.
-rw-r--r-- | docs/reference/gtk/migrating-3to4.xml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/reference/gtk/migrating-3to4.xml b/docs/reference/gtk/migrating-3to4.xml index af5a689a6d..8b79b7bca1 100644 --- a/docs/reference/gtk/migrating-3to4.xml +++ b/docs/reference/gtk/migrating-3to4.xml @@ -330,13 +330,18 @@ </section> <section> - <title>Adapt to GtkStack API changes</title> + <title>Adapt to GtkStack, GtkAssistant and GtkNotebook API changes</title> <para> - The GtkStack child properties have been converted into child meta object. + The child properties of GtkStack, GtkAssistant and GtkNotebook have been + converted into child meta objects. Instead of gtk_container_child_set (stack, child, …), you can now use g_object_set (gtk_stack_get_page (stack, child), …). In .ui files, the GtkStackPage objects must be created explicitly, and take the child widget - as property. gtk4-builder-tool can help with this conversion. + as property. GtkNotebook and GtkAssistant are similar. + </para> + <para> + gtk4-builder-tool can help with this conversion, with the --3to4 option + of the simplify command. </para> </section> |