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

Home » Public Forums » archive » Re: 2 simple questions - 3rd time's the charm?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: 2 simple questions - 3rd time's the charm? [message #1012] Fri, 28 May 1993 15:55 Go to next message
deutsch is currently offline  deutsch
Messages: 19
Registered: February 1992
Junior Member
In article <28MAY199311395193@stars.gsfc.nasa.gov>, fireman@stars.gsfc.nasa.gov (Gwyn F. Fireman) writes:
> Hello, IDL Users -
>
> I've asked these questions a couple times before, with no response.
> Don't be shy! I'm running IDL 2.4.0 under Ultrix 4.1. A couple short
> questions:
>
> What controls the background color for widgets? Is it in the
> Xdefaults file? The same application has a blue background in one account,
> and white in another.
>
For a Sun workstation running SunOS (unix), you can add the following in
your .Xdefaults file:
Idl*background: PeachPuff2
Idl*colors: -5

where you can replace PeachPuff2 with whatever color you like.


> How can I prompt an exit from IDL from a widget application? Just
> putting EXIT in the event handler gives me a callback error, although it
> works fine for non-widget routines.
>

Did you try having the event-handler call a separate procedure whose sole
purpose is to run an EXIT?

> Thanks,
> __.
> / | , , , , , ,_ Gwyn F. Fireman
> (__/|/(_(_)(_/|/| |_/ Computer Sciences Corporation
> /| /| IUEGTC::FIREMAN IUE Observatory
> (_/ (_/ fireman@iuegtc.dnet.nasa.gov (301) 794-1560

cheers,
Eric

Eric Deutsch
University of Washington
Department of Astronomy FM-20
Seattle, WA 98195
deutsch@astro.washington.edu or UWSPAN::JANUS::DEUTSCH
Re: 2 simple questions - 3rd time's the charm? [message #1100 is a reply to message #1012] Tue, 01 June 1993 10:46 Go to previous message
zawodny is currently offline  zawodny
Messages: 121
Registered: August 1992
Senior Member
In article <1993May28.175524.1@orac.stsci.edu> deutsch@orac.stsci.edu writes:
>
> Stuff deleted
>
> For a Sun workstation running SunOS (unix), you can add the following in
> your .Xdefaults file:
> Idl*background: PeachPuff2
> Idl*colors: -5
>
> where you can replace PeachPuff2 with whatever color you like.
>
> Eric Deutsch
> deutsch@astro.washington.edu or UWSPAN::JANUS::DEUTSCH
>

Does someone have a complete listing of all the entries (like Idl*background)
for the .Xdefaults file that are used by the widgets. A quick browse through
chapter 20 of the January 1993 edition of the IDL Users Guide did not reveal
any of this information.

Thanks,

--
Joseph M. Zawodny (KO4LW) NASA Langley Research Center
Internet: zawodny@arbd0.larc.nasa.gov MS-475, Hampton VA, 23681-0001
Packet: ko4lw@wb0tax.va.usa
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: PV_WAVE Widgets
Next Topic: 2 simple questions - 3rd time's the charm?

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

Current Time: Wed Oct 08 13:35:53 PDT 2025

Total time taken to generate the page: 0.00572 seconds