[gtk] Add more info to the migration guide
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] Add more info to the migration guide
- Date: Thu, 21 Feb 2019 06:12:23 +0000 (UTC)
commit 888b967d6bb794486e50c21b11aa32a5d754de23
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 21 01:09:09 2019 -0500
Add more info to the migration guide
Mention child metas of GtkAssistant and GtkNotebook.
docs/reference/gtk/migrating-3to4.xml | 11 ++++++++---
1 file 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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]