Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!karl!davis From: davis@karl.ucar.edu (Glenn P. Davis) Newsgroups: comp.windows.x Subject: Using other than the default visual with Xt Message-ID: <5814@ncar.ucar.edu> Date: 29 Dec 89 06:41:48 GMT Sender: news@ncar.ucar.edu Reply-To: davis@unidata.UCAR.EDU (Glenn P. Davis) Organization: Unidata/UCAR, Boulder CO Lines: 20 I have a little Xt based program that needs to allocate some color cells. For the 'xnews' server, the default visual is StaticColor, but there is a PsuedoColor visual available. How do I get my widget hierarchy to use *that* visual when the time comes to 'Realize'? My attempts thusfar all result in BadMatch errors. (I know about the 'USE_MIT_VISUALS' environment variable. I would prefer to solve this in the client.) Thanks Glenn P. Davis davis@unidata.ucar.edu UCAR / Unidata PO Box 3000 1685 38th St. Boulder, CO 80307-3000 Boulder, CO 80301 (303) 497 8643