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

Home » Public Forums » archive » Re: Q: Clearing Widget Events
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: Q: Clearing Widget Events [message #6780 is a reply to message #6771] Tue, 13 August 1996 00:00 Go to previous messageGo to previous message
Peter Mason is currently offline  Peter Mason
Messages: 145
Registered: June 1996
Senior Member
On Tue, 13 Aug 1996, Saeid Zoonematkermani wrote:
> I am trying to write my first serious widget application and the debugging
> process is confusing me. I am using IDL 4.0.1 on Mac OS.
>
> When some kind of error happens, the widget hangs up and I clear it with
> by pressing the close button. Then I use "WIDGET_CONTROL,/DESTROY,
> EVENT.TOP" and a "RETALL" after that. I return to the main and fix the bug
> and rerun the widget. The widget comes up but accepts no events and is
> totally incative. I have also tried "WIDGET_CONTROL,/CLEAR_EVENTS" and it
> doesn't seem to help. The only solution I have found, is to restart IDL.
> Does any one have any suggestions? Am I missing some thing very basic?

After manually closing the widget (via the window manager) and typing RETALL,
one can sometimes get things back in order by typing XMANAGER (with no
arguments) at the command line.
If this doesn't work, try the more drastic WIDGET_CONTROL,/RESET.
But sometimes things simply get too stuck, and the only thing which works
is restarting IDL.

An alternative - especially if the bug is due to something simple like an
undefined variable - is to kludge a quick fix at the command line (e.g.,
define the missing variable) and type .CONT


Peter Mason
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multiple plots on a page (was: Color PS (was:IDL resources))
Next Topic: Re: crossspectra

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

Current Time: Thu Oct 09 02:48:13 PDT 2025

Total time taken to generate the page: 0.63548 seconds