Re: [gtk-list] Re: how to use gtk_gc_set_tile() ?
- From: Havoc Pennington <hp redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: how to use gtk_gc_set_tile() ?
- Date: 07 Mar 2000 08:14:07 -0500
Nancy Mazur <Nancy.Mazur@cs.kuleuven.ac.be> writes:
> The previous method worked fine for me. But just curiosity, 'cause
> I didn't find the exact documentation of how to set backgrounds,
> could you give me an example perhaps?
> How to set an image as background image on a drawingboard?
>
It's just gdk_window_set_back_pixmap(window, pixmap), or
gdk_window_set_background(window, &color) for a solid color.
This is the background the window will have *before* you copy a pixmap
buffer into it, if you're using the scribble example. That is, if
you're using a pixmap buffer to draw into, the window background isn't
that relevant (except that a good background choice can reduce
visible flashing during scrolling).
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]