comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL Color Blues
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL Color Blues [message #9743 is a reply to message #9683] Thu, 14 August 1997 00:00 Go to previous messageGo to previous message
Alex Schuster is currently offline  Alex Schuster
Messages: 124
Registered: February 1997
Senior Member
David Foster wrote:

> You might try putting the following in your
> /usr/openwin/lib/Xdefaults (or .Xdefaults) file:
>
> Idl*colors: -10
>
> This tells IDL to reserve 10 colors before grabbing color indices,
> thereby sparing colors used by the system.

I tried this on some of our 8-bit Suns, but didn't notice any change.
I started an IDL session, opened a window, and IDL grabbed all available
colors. Okay so far.
Then I starten another session, and opened a window with COLORS=50. When
I moved the mouse into the window, the color table was changed, and the
50 colors allocated the first 50 cells.
Maybe this problem related to OpenWindows 3.4? (No, I did not forget to
xrdb the .Xdefaults file.)


BTW, where does one find information about the entries in the .Xdefaults
file? The only iformation I found was in
$IDL_DIR/resource/X11/lib/X11/app-defaults/Idl, it wasn't of much help.
Lines like

! Size, resize behavior of the File Selection box, dialog_pickfile()
Idl*XmFileSelectionBox.resizePolicy: XmRESIZE_GROW
Idl*XmFileSelectionBox.width: 400

look promising.

Alex
--
Alex Schuster Wonko@weird.cologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Name of a named structure
Next Topic: IDLgrVolume background color

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 04:55:11 PDT 2025

Total time taken to generate the page: 2.07869 seconds