Re: disabling auto background clear



John Cupitt <john cupitt ng-london org uk> 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





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