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

Home » Public Forums » archive » Re: having IDL output to another X11 window
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: having IDL output to another X11 window [message #32117 is a reply to message #32105] Tue, 10 September 2002 12:20 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Pointer Behavior Objects Vs Plain routines?
Next Topic: Re: Simple animation?

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

Current Time: Fri Oct 10 06:55:31 PDT 2025

Total time taken to generate the page: 1.20223 seconds