Path: utzoo!attcan!uunet!ginosko!usc!bloom-beacon!ATHENA.MIT.EDU!swick From: swick@ATHENA.MIT.EDU (Ralph R. Swick) Newsgroups: comp.windows.x Subject: Re: GreyScale Application with Athena Widgets Message-ID: <8909081522.AA01664@LYRE.MIT.EDU> Date: 8 Sep 89 15:22:31 GMT References: <571@focsys.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: DEC/MIT Project Athena Lines: 12 > If I leave my > colormap in they come up all black. If I switch back to the orignal (root > window) colormap then they look right (but my images look ugly). > I tried changing the colormap very early in the startup of the program, > before the widgets get created, hoping they would use it ... but it doesn't > help. If you specify the XtNcolormap resource for your toplevel shell (via XtSetValues(), if you're using XtInitialize()) then all the children will, by default, inherit your private colormap when they are realized. You can also specify the colormap resource individually for each widget if you have a special need.