must I create colormap and add colors in EVERY expose handler call?



It seems I must create colormap and add colors to it
in expose event handler which means this will get
done MANY times in execution of a GTK+ app.

Is this right??? Do gurus make colormap global or something
to avoid this???

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]