2 simple questions - 3rd time's the charm? [message #1015] |
Fri, 28 May 1993 08:39  |
fireman
Messages: 49 Registered: August 1991
|
Member |
|
|
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.
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.
Thanks,
__.
/ | , , , , , ,_ Gwyn F. Fireman
(__/|/(_(_)(_/|/| |_/ Computer Sciences Corporation
/| /| IUEGTC::FIREMAN IUE Observatory
(_/ (_/ fireman@iuegtc.dnet.nasa.gov (301) 794-1560
|
|
|
Re: 2 simple questions - 3rd time's the charm? [message #1098 is a reply to message #1015] |
Tue, 01 June 1993 14:16  |
kashyap
Messages: 26 Registered: April 1993
|
Junior Member |
|
|
In article <1993Jun1.151643.1@orac.stsci.edu> deutsch@orac.stsci.edu writes:
> Here are all the ones that I am aware of. This is the output of:
> % cd $IDL_DIR/notes
> % grep "Idl*" *
>
> note_2_1.doc: Idl*XmText*blinkRate: 0
> note_2_4.doc: Idl*blinkRate: 0
> openwin3.doc: Idl*threeD: TRUE
> openwin3.doc: Idl*background: PeachPuff2
> openwin3.doc: Idl*inputFocusColor: PeachPuff2
> openwin3.doc: Idl*traversalOn: False
> openwin3.doc: Idl*scale: 10
> openwin3.doc: Idl*colors: -5
> sgi.doc: Idl*fontList: -adobe-helvetica-bold-r-normal-*-10-100-*-*-*-
>
Idl*retain: 2
to force backing store for pixmaps
-vinay
|
|
|
Re: 2 simple questions - 3rd time's the charm? [message #1099 is a reply to message #1015] |
Tue, 01 June 1993 13:16  |
deutsch
Messages: 19 Registered: February 1992
|
Junior Member |
|
|
In article <1ug4maINNd69@rave.larc.nasa.gov>, zawodny@arbd0.larc.nasa.gov (Dr. Joseph M Zawodny) writes:
> 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
Here are all the ones that I am aware of. This is the output of:
% cd $IDL_DIR/notes
% grep "Idl*" *
note_2_1.doc: Idl*XmText*blinkRate: 0
note_2_4.doc: Idl*blinkRate: 0
openwin3.doc: Idl*threeD: TRUE
openwin3.doc: Idl*background: PeachPuff2
openwin3.doc: Idl*inputFocusColor: PeachPuff2
openwin3.doc: Idl*traversalOn: False
openwin3.doc: Idl*scale: 10
openwin3.doc: Idl*colors: -5
sgi.doc: Idl*fontList: -adobe-helvetica-bold-r-normal-*-10-100-*-*-*-
Many of them may be specific to SunOS OpenWindows, but not all of them...
Note that you should read the appropriate notes about the entries before
just adding them to your .Xdefaults, as some of them are workarounds that
you may not want/need to implement.
Eric
Eric Deutsch
University of Washington
Department of Astronomy FM-20
Seattle, WA 98195
deutsch@astro.washington.edu or UWSPAN::JANUS::DEUTSCH
|
|
|