Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!news.cs.indiana.edu!noose.ecn.purdue.edu!monkey.ecn.purdue.edu!alien From: alien@monkey.ecn.purdue.edu (Yin Chan) Newsgroups: comp.windows.x Subject: X colormap Message-ID: <1991Mar8.080458.5759@noose.ecn.purdue.edu> Date: 8 Mar 91 08:04:58 GMT Sender: root@noose.ecn.purdue.edu (ECN System Management) Organization: Purdue University Engineering Computer Network Lines: 10 Hi, I have a problem with changing the colormap used by a window. I need to allocate 256 colors. How can I create a new colormap and then force the widget window to display true color defined in the new colormap? Also, I would like to know how to restore the default colormap after executing my program. Thanks