gtk.fixed and repaint problems
- From: rastersoft <raster rastersoft com>
- To: gtk-app-devel-list gnome org
- Subject: gtk.fixed and repaint problems
- Date: Thu, 30 May 2013 12:45:41 +0200
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]