Re: disabling auto background clear
- From: Helmethead <hoshem mel comcen com au>
- To: John Cupitt <john cupitt ng-london org uk>
- Cc: "gtk-list gnome org" <gtk-list gnome org>
- Subject: Re: disabling auto background clear
- Date: Fri, 27 Apr 2001 00:28:22 +1000
On Thu, Apr 26, 2001 at 02:53:22PM +0100, John Cupitt wrote:
> 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!
A window's bit gravity attribute tells xlib where to shunt bits when a window gets resized, by default (in xlib) they are forgotten. Changing this value is unportable I assume.
Or you could make the background not the background, and paint it as part of the foreground I guess.
>
> John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]