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

Home » Public Forums » archive » Re: IDL command line access from inside a widget?
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: IDL command line access from inside a widget? [message #82722] Fri, 11 January 2013 19:02 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Matthew Argall writes:

> What I would do is create an object for your data and write a function to return the object reference. Then, generates your gui and give your object reference as an input.
>
> When you run your function from the command line, the object reference will be returned to the main level and you will be able to access the properties of your object as well as interact with your GUI.
>
> Sort of complicated to explain, but I have done it and it is not that bad...

This is not a bad idea, since you at least have some kind of control
over what the user can do with the data through the object interface.
Giving the user carte blanche, even if it were possible (it's not), is a
recipe for complete and utter disaster. :-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Putting an overbar on text in a plot
Next Topic: Coyote routines no longer included in Astronomy library

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

Current Time: Wed Oct 08 11:34:44 PDT 2025

Total time taken to generate the page: 0.00433 seconds