Re: color of widgets [message #6848] |
Mon, 26 August 1996 00:00  |
Peter Mason
Messages: 145 Registered: June 1996
|
Senior Member |
|
|
> On Thu, 22 Aug 1996, Tgreve wrote:
>> Does anyone know how to change the light blue color of the widgets into
>> something else...(anything!)?
There's another way to do this globally, without having to use
RESOURCE_NAME=... in your source code. It might be more like what you're
after.
There's a file called Idl in $IDL_DIR/resource/X11/lib/app-defaults which
contains X resource definitions for idl and "idltool". The only things
defined for idl are Idl*background and Idl*XmText.translations (sun
only), and Idl.colors. (The rest of the file pertains to idltool.)
Anyway, you could (re)define Idl*background here, and I understand that
it should then kick in when you run idl.
More simply, define Idl*background in your own .Xdefaults file (along
with idl.gr_depth etc). (You'll then have to restart your session or do
something like xrdb -load .Xdefaults to activate your changes.)
e.g., Include the line
Idl*background:green
to get all of your widgets rendered in garish green.
I can't find any references to Idl*background in the docs. I would guess
that there could be some other Idl X resources that you can change like this,
but you'll have to find them by trial and error.
Peter Mason
|
|
|