Re: GDK Set_Background



On Sat, 2003-08-23 at 00:36, Chris Sparks wrote:
Hi all,

I have noticed that when I use Set_Background for a GDK window, it works 
the first time in drawing the color, however, upon new expose events 
(windows covering windows) the background looks transparent.  The image 
of either the previous window or one below is coming through.

Anybody know why this is?

This doesn't make any sense to me. Maybe you can show a few lines
of code to let us see what you are doing?

"Background looks transparent" sounds like you are  doing
gdk_window_set_back_pixmap (window, NULL, FALSE). (It's not
actually transparent, just that it won't automatically repaint
on expose events.)

Regards,
                                                Owen





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