gtk.fixed and repaint problems



Hi all:

I'm working with a gkt.fixed canvas because I need to put several widgets over an animated picture (created with Cairo).

I created a Cairo canvas that covers the whole window, and over it I put the widgets (one of them is an icon list)

With Gtk 2.x and Gtk3 up to 3.6 all worked fine; but with Gtk 3.8 I'm having some repaint problems.

In previous versions, it seems that the whole widget is repainted when a "draw" event is sent; but with the last GTK, it seems that only the modified parts are repainted. This means that, when a "draw" event is sent to the window, when I repaint the whole thing, the first element to be repainted is the Cairo canvas, so it overpaints all the widgets; then, when the widgets are repainted, since only the modified parts are repainted, only they are visible, and the other parts are hidden "under" the Cairo canvas (when, based on the Z axis, they should be over the Cairo canvas).

How can I fix this?

Thanks.

--
Nos leemos
                         RASTER    (Linux user #228804)
raster rastersoft com              http://www.rastersoft.com



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