sec : U Re: having IDL output to another X11 window [message #32109] |
Tue, 10 September 2002 15:46 |
Andrew Cool
Messages: 219 Registered: January 1996
|
Senior Member |
|
|
David Fanning wrote:
>
> John R. Iverson (jrivers@sandia.gov) writes:
>
>> The documentation seems sure that I can cause IDL to output graphics to
>> another X-Window (external development guide, Ch 19, p348):
>>
>> "The IDL X Windows graphics driver can draw in windows it did not create
>> as long as the window is compatible with the IDL display connection".
>>
>> However, I can't find any reference as to how to do this. Specifically,
>> I am developing a Motif application in which I would like to embed some
>> IDL graphics (a map) in an existing display.
>
> Well, years ago you could do this with undocumented keywords
> to the X windows driver. I'm not sure it can still be done.
> The keywords were SET_X_ID and SET_X_PID for the X window
> ID and X pixmap window id, respectively. Use them on a WINDOW command
> to set up the window to use the X ID of an existing X
> drawable. If present, IDL does not create the required
> drawable, but uses the one pointed to by the ID.
>
> Best of luck. I'm thinking you will need it. :-)
>
> Cheers,
>
> David
No Luck needed. Just use IDL v5.4 under VMS.
TFE.
Andrew
------------------------------------------------------------ -----------------
Andrew D. Cool .->-.
Electromagnetics & Propagation Group '-<-'
Intelligence, Surveillance & Reconnaissance Division Transmitted on
Defence Science & Technology Organisation 100% recycled
PO Box 1500, Edinburgh electrons
South Australia 5111
Phone : 061 8 8259 5740 Fax : 061 8 8259 6673
Email : andrew.cool@dsto.defence.gov.au
------------------------------------------------------------ -----------------
|
|
|