Question:
I have created the GTK 3 window with multiple layouts, each contain some widgets on top of the main layout. Now I tried to add image background to the window. But the image is hiding all other layouts and widgets that exist in the main layout.I have tested the same code in GTK 2, It is working as expected. (i.e) child layouts and widgets are showing on top of the pixmap.
Here is the code that I have tried.
Answer:
It seems the philosophy of GTK3 is to steer more widget size/image/display functionality towards using CSS. With that in mind, I took your program and added a CSS provider widget to your program.
So you might have to utilize CSS providers more in order to replicate the background behavior in GTK2.
Hope that helps.
Regards.
If you have better answer, please add a comment about this, thank you!