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 #82724 is a reply to message #82722] Fri, 11 January 2013 18:24 Go to previous messageGo to previous message
Matthew Argall is currently offline  Matthew Argall
Messages: 286
Registered: October 2011
Senior Member
> If I want to allow the user access to the command line so they can use the rest of IDL to explore the data, what is the best possible way?
>
> I've set NO_BLOCK on the XMANAGER but that puts me back at the MAIN without access to the variables I've loaded inside my procedure.
>
> Is there a way to get back to the command line and have access to the variables I've already loaded?

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...
[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 17:33:25 PDT 2025

Total time taken to generate the page: 0.00376 seconds