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

Home » Public Forums » archive » Re: Switching Between Multiple XMANAGER Windows
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: Switching Between Multiple XMANAGER Windows [message #17350 is a reply to message #17346] Thu, 07 October 1999 00:00 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Michael Baca wrote:

> I am trying to find a way to work between two different XMANAGER windows.
> The first window controls some data visualization information. What I then
> do is click on my draw widget in order to obtain more detailed information
> about a single pixel. This pops up a new XMANAGER window that shows more
> detailed information on this single pixel. However, I need to be able to
> return to the first window to be able to do the same for a second pixel
> without losing the second window. Can this be done. Any comments would be
> appreciated.
>
> Mike

Here is a short idea how to solve this problem.

I believe it is neccesary to have all widget_ids and some more data as a
pointer structure.

You have to set at the widget_draw() an event_pro to your event_handler .
Then you have to write an own small event_handler wich has a syntax like

PRO wid1_own_event,map
a=WIDGET_EVENT((*map).id_draw,/nowait,bad_id=bad)
END

Afterwards you have to call this wid1_own_event in every loop where you like
to have access to the event_handler
of widget 1.

You need pointers because they are known in all routines.



R.Bauer
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Floating Point Dilate and Erode
Next Topic: Re: Velocity vectors on maps

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

Current Time: Fri Oct 10 12:54:25 PDT 2025

Total time taken to generate the page: 0.00267 seconds