Path: utzoo!utgpu!watserv1!watmath!att!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!cs.utexas.edu!bcm!etaylor From: etaylor@wilkins.iaims.bcm.tmc.edu (Eric Taylor) Newsgroups: comp.windows.x Subject: Re: GC: how many is too many? Message-ID: <2933@gazette.bcm.tmc.edu> Date: 28 Nov 90 23:22:14 GMT References: <4509@titan.sw.mcc.com> <1990Nov28.222839.498@thyme.jpl.nasa.gov> Sender: usenet@bcm.tmc.edu Reply-To: etaylor@wilkins.iaims.bcm.tmc.edu (Eric Taylor) Organization: Baylor College of Medicine, Houston, Tx Lines: 21 Nntp-Posting-Host: wilkins.iaims.bcm.tmc.edu |> |> Toolkits such as Motif may have as many as a dozen GCs per widget; |> top shadow color, bottom shadow color, default font, foreground color, |> background color, etc. Multiply by the number of Widgets in a "typical" |> application; ours have > one hundred, then multiply by the number of |> applications running; two or three dozen. |> |> -- This is only partly True. Widgets using XtGetGC share their GC's. You might be suprised to find out there are probably less than a couple dozen per application using XtGetGC (I am assuming that the MOTIF widget set uses XtGetGC). -- Eric Taylor Baylor College of Medicine etaylor@wilkins.bmc.tmc.edu (713) 798-3776