Havoc Pennington wrote:
> 
> John Cupitt <[EMAIL PROTECTED]> writes:
> > This is an easy one ... how do I stop my widget being automatically
> > cleared to the background colour on a configure? I want to redraw this
> > case myself.
> >
> > I looked over the GIMP sources, but I can't see what they're doing that
> > I'm not :-(
> >
> > Thanks for any pointers!
> >
> 
> You set the background to none, I believe using gdk_window_set_background
> (window, NULL).
> 
> Of course you get a different weirdness in this case (the desktop
> under the window shows through, etc.)
> 
> Havoc

Hi, thanks for the tip.

I looked at gdk, and I think gdk_window_set_background() does
XSetWindowBackground( color->pixel ), so I'm not sure this will work :-(

You can give NULL to gdk_window_set_back_pixmap(), but that doesn't seem
to help me either.

I'll maybe poke about in GIMP a bit more.

John

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to