forked from AuroraMiddleware/gtk
Update the migration guide
Mention the demise of -gtk-gradient, and explain that CSS syntax works fine for this now.
This commit is contained in:
parent
2a5a94b260
commit
5b8646c6e8
@ -133,7 +133,7 @@
|
||||
<section>
|
||||
<title>Adapt to GtkWidget's size request changes</title>
|
||||
<para>
|
||||
GTK+3 used five different virtual functions in GtkWidget to
|
||||
GTK+ 3 used five different virtual functions in GtkWidget to
|
||||
implement size requisition, namely the gtk_widget_get_preferred_width()
|
||||
family of functions. To simplify widget implementations, GTK+4 uses
|
||||
only one virtual function, GtkWidgetClass::measure() that widgets
|
||||
@ -141,6 +141,14 @@
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<title>Don't use -gtk-gradient in your CSS</title>
|
||||
<para>
|
||||
GTK+ now supports standard CSS syntax for both linear and radial
|
||||
gradients, just use those.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
</section>
|
||||
|
||||
</chapter>
|
||||
|
Loading…
Reference in New Issue
Block a user