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

Home » Public Forums » archive » ENVI: group leader for envi_plot_data
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: group leader for envi_plot_data [message #40302 is a reply to message #40296] Tue, 03 August 2004 19:19 Go to previous messageGo to previous message
tianyf is currently offline  tianyf
Messages: 6
Registered: June 2004
Junior Member
I think it is the problem of envi_plot_data. I found a solution:
...
envi_plot_data, ..., base=base
widget_control, base, group_leader=event.top
...

That works fine in my test program.

Tian

"Mort Canty" <m.canty@fz-juelich.de> wrote in message news:<ceo1g3$7n57$1@zam602.zam.kfa-juelich.de>...
> "Reimar Bauer" <R.Bauer@fz-juelich.de> schrieb im Newsbeitrag
> news:cem75o$1491$1@zam602.zam.kfa-juelich.de...
>> Dear Mort
>>
>> I don't understand what you like to know from us.
>> This behaviour seems to be normal for me because
>> the envi plot is called within the event handler of the base widget.
>> The event handler is only called from the base widget. The plot needs
>> resources from the base widget e.g. a draw window or something else.
>> Then if you destroy the base all is over.
>>
>> Reimar
>>
>> --
> Hi Reimar,
>
> That's my problem: when I destroy the base widget, all is *not* over. The
> ENVI plot persists until I close it manually or until I close the ENVI
> session. If that is normal behavior, then I don't understand what the
> purpose of the keyword GROUP is in the ENVI_PLOT_DATA procedure.
>
> Mort
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: $t1 Almost FREE MONEY !! $t1
Next Topic: Programatically create structure

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

Current Time: Sat Oct 11 08:46:05 PDT 2025

Total time taken to generate the page: 0.72296 seconds