From: rosenth@vision.ethz.ch (Lukas Rosenthaler)
Subject: ** HELP ** How to use other than default visual ???
Date: Sat, 18 Sep 1993 09:34:15 GMT [thread overview]
Message-ID: <rosenth.748344855@batman> (raw)
Again:
I want my OSF/Motif based application to use a non-default visual. The
machine I have has a 24 Bit truecolor display, which has to be in this mode
and can *NOT* permanently switched to PseudoColor. However, one application
absolutely needs a 8-Bit PseudoColor visual. The application uses OSF/Motif
with UIL. So far, I succeed to do the following things:
1) I find the apropriate visual
2) I can create a colormap using this visual
3) I set the "XmNvisual" and "XmNcolormap" resources of the applicationShell
to the PseudoColor visual and the 8-Bit colormap
*BUT*, within MrmFetchWidget, during fetching the XmMainWidget, the application
dies with a BadMatch Error in a "X_CreateWindow"!
I added a create-callback to the Widget, and checked both resources in
there, and both are set all right (that is the XmNvisual and
XmNcolormap are ok during creation of the widget).
Can anybody help me, please. I will post any solutions
Lukas Rosenthaler
University of Basel, Scientific Photography Lab
Klingelbergstr. 80
CH-4056 Basel
Switzerland
Email:
rosenthaler@urz.unibas.ch
rosenth@vision.ethz.ch
next reply other threads:[~1993-09-18 9:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-09-18 9:34 Lukas Rosenthaler [this message]
1993-09-20 13:02 ` ** HELP ** How to use other than default visual ??? Andy V
1993-09-24 22:22 ` Mike Stroyan
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox