[comp.windows.x] Attaching a colormap to an Xt Window.

mja@intrepid..ARPA (Michael J. Allison) (11/17/88)

I am have an application that displays a raster image, inside of a 
an Xt window. The main widget is just a FORM, then inside are some buttons
and labels. The actual display window is a "widgetClass" widget. 

The info I need is how to set a defined colormap on this window
("widgetClass" or the toplevel) so the raster is displayed in the 
correct colors. Other non Xt applications, with custom colormaps,
now operate correctly with the new windows managers (twm). My 
Xt code does not.

Is there a "correct" way to do this, it was not apparent from the manual...

	mike
	mja@sierra.llnl.gov