[gtk: 1/2] Add section about `gtk_widget_set_app_paintable`




commit 02893e37d38fb50f979b44d7297c569ae052b372
Author: Jaap aarts <jaap aarts1 gmail com>
Date:   Wed Jun 23 13:08:06 2021 +0000

    Add section about `gtk_widget_set_app_paintable`

 docs/reference/gtk/migrating-3to4.md | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/docs/reference/gtk/migrating-3to4.md b/docs/reference/gtk/migrating-3to4.md
index 9bc982962a..18d641496b 100644
--- a/docs/reference/gtk/migrating-3to4.md
+++ b/docs/reference/gtk/migrating-3to4.md
@@ -99,6 +99,12 @@ you should stop using `GdkVisual` APIs, since this object not longer
 exists in GTK 4. Most of its APIs are deprecated already and not
 useful when dealing with RGBA visuals.
 
+### Stop using `gtk_widget_set_app_paintable`
+
+This is gone in GTK4 with no direct replacement. But for some usecases there
+are alternatives. If you want to make the background transparent, you can set
+the background color to, for example, `rgba(255, 255, 255, 0)` using CSS instead.
+
 ### Stop using `GtkBox` padding, fill and expand child properties
 
 GTK 4 removes these [class Gtk Box] child properties, so you should stop using
@@ -1338,3 +1344,4 @@ of tree models, and widgets instead of cell renderers.
 
 To learn more about the new list widgets, you can read the [List Widget
 Overview](#ListWidget).
+


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]