Re: HOW use graphics contexts in MULTIPLE drawing areas?!?!?!?
- From: Owen Taylor <otaylor redhat com>
- To: Christian Seberino <seberino spawar navy mil>
- Cc: gtk-list gnome org
- Subject: Re: HOW use graphics contexts in MULTIPLE drawing areas?!?!?!?
- Date: Mon, 25 Mar 2002 15:37:28 -0500 (EST)
Christian Seberino <seberino spawar navy mil> writes:
> GdkGC* gc = gdk_gc_new(drawingArea->window);
>
> You'll notice line above needs an argument that is a
> drawing area window. What if I want to use
> same graphics context in lots of drawing areas?!?!?!?
>
>
> e.g. if I define a graphics context for color
> red then why define HUNDREDs of "reds" one for
> every drawing area?!?!?!
You can use a GdkGC with any other drawable (window or pixmap)
with the same colormap.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]