[gtk/pack-type] Mention pack-type in the migration guide
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/pack-type] Mention pack-type in the migration guide
- Date: Wed, 27 Mar 2019 17:53:36 +0000 (UTC)
commit 4a15b161980922fb1a083722692973b53ffab760
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Mar 27 13:52:47 2019 -0400
Mention pack-type in the migration guide
docs/reference/gtk/migrating-3to4.xml | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/docs/reference/gtk/migrating-3to4.xml b/docs/reference/gtk/migrating-3to4.xml
index 3e9ef096d6..1d19d6bca1 100644
--- a/docs/reference/gtk/migrating-3to4.xml
+++ b/docs/reference/gtk/migrating-3to4.xml
@@ -340,12 +340,22 @@
</section>
<section>
- <title>Adapt to GtkHeaderBar API changes</title>
+ <title>Adapt to GtkHeaderBar and GtkActionBar API changes</title>
<para>
The gtk_header_bar_set_show_close_button() function has been renamed to
the more accurate name gtk_header_bar_set_show_title_buttons(). The corresponding
getter and the property itself have also been renamed.
</para>
+ <para>
+ The ::pack-type child properties of GtkHeaderBar and GtkActionBar have
+ been removed. If you need to programmatically place children, use the
+ pack_start() and pack_end() APIs. In ui files, use the type attribute
+ on the child element.
+ </para>
+ <para>
+ gtk4-builder-tool can help with this conversion, with the --3to4 option
+ of the simplify command.
+ </para>
</section>
<section>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]