HOW use graphics contexts in MULTIPLE drawing areas?!?!?!?



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?!?!?!

Sincerely,

Chris

-- 
=======================================================
| Dr. Christian Seberino  || (619) 553-7940  (office) |
| SPAWARSYSCEN 2363       || (619) 553-2836  (fax)    |
| 53560 HULL ST           ||                          |
| SAN DIEGO CA 92152-5001 || seberino spawar navy mil |
=======================================================



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