Re: 2 simple questions - 3rd time's the charm? [message #1012] |
Fri, 28 May 1993 15:55  |
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
|
|
|
|