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

Home » Public Forums » archive » Using Comm... err, alternative?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Using Comm... err, alternative? [message #21218] Wed, 16 August 2000 00:00 Go to next message
promashkin is currently offline  promashkin
Messages: 169
Registered: December 1999
Senior Member
I have a short question. When you have several (identical, object
plotting only) widget windows, how do you find out which one is the
topmost without using a common block or defining a main-level variable?
I use focus events all right, but I have not figure out where to keep
the resulting information.
I certainly will use a pointer if all those daughter windows are
generated from a parent widget program. But how do I do this if I create
them from a command line?
Thank you,
Pavel
Re: Using Comm... err, alternative? [message #21357 is a reply to message #21218] Fri, 18 August 2000 00:00 Go to previous messageGo to next message
promashkin is currently offline  promashkin
Messages: 169
Registered: December 1999
Senior Member
John-David Smith wrote:
>
> Am I being obtuse or couldn't you just use the provided !D.WINDOW sysvar in the
> focus event callback simply as:
>
> widget_control,self.mywin,get_value=win
> wset,win

That would be ok, but, apparently, !d.window is only for direct
graphics. It is unaware of object windows.
Cheers,
Pavel
Re: Using Comm... err, alternative? [message #21365 is a reply to message #21218] Fri, 18 August 2000 00:00 Go to previous messageGo to next message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
John-David Smith (jdsmith@astro.cornell.edu) writes:

> Or is this an object graphics thing? I'm embarrassed to say that I have yet to
> invoke a single O.G. command. Too many case changes and underlines make my code
> ugly (IDL_ThisDISPlays_a_VIEWofaModel_withinAConTainerofWindowsgr dotcom).

But, JD, I thought you were a *((*(struct.data).ptr)) sort of guy. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: Using Comm... err, alternative? [message #21392 is a reply to message #21218] Thu, 24 August 2000 00:00 Go to previous message
John-David T. Smith is currently offline  John-David T. Smith
Messages: 384
Registered: January 2000
Senior Member
David Fanning wrote:

> But, JD, I thought you were a *((*(struct.data).ptr)) sort of guy. :-)

Yes, beautiful, isn't it.

JD
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: characters in ps
Next Topic: Re: plus minus symbol in Device Font

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

Current Time: Wed Oct 08 15:11:18 PDT 2025

Total time taken to generate the page: 0.00763 seconds