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

Home » Public Forums » archive » Re: widget crashes and restarts
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
Re: widget crashes and restarts [message #5215] Wed, 01 November 1995 00:00
David S. Foster/Admin is currently offline  David S. Foster/Admin
Messages: 14
Registered: May 1995
Junior Member
Mark Fardal <fardal@shapley.colorado.edu> wrote:
>
> Okay, I give up,
>
> If you have a widget application that crashes somewhere in the event
> handler, how do you (a) remove the current widget and (b) make sure
> everything is okay when you start the widget application again?
>

Kill each active IDL window manually, and then at the IDL promot
type "retall" and then "xmanager".

I've tried to use the WIDGET_CONTROL, /RESET feature to kill all
the widgets, but this seems to leave IDL in a strange state. Even
after typing retall and xmanager, widget applications do not start
up correctly.

Dave
Re: widget crashes and restarts [message #5233 is a reply to message #5215] Sat, 28 October 1995 00:00 Go to previous message
knighton is currently offline  knighton
Messages: 12
Registered: June 1995
Junior Member
Mark Fardal <fardal@shapley.colorado.edu> wrote:
> Okay, I give up,
>
> If you have a widget application that crashes somewhere in the event
> handler, how do you (a) remove the current widget and (b) make sure
> everything is okay when you start the widget application again?
>
> I can destroy the widget either by closing the Xwindow or by typing
> WIDGET_CONTROL, /RESET. But then when I start up the widget again it
> is unresponsive; the buttons and menus can be manipulated but they
> don't call the event handler. Right now the only way I know of to
> restart the widget is to exit and restart IDL.
>
When the crash occurs, first destroy the widget, then type:

IDL> RETALL ;Gets back to main program level
IDL> XMANAGER ;Causes XMANAGER to clean itself up

This should allow you to rerun the application again and have it respond properly.

Ken Knighton, knighton@gav.gat.com, knighton@cts.com
Fusion Division
General Atomics
San Diego, CA
Re: widget crashes and restarts [message #5234 is a reply to message #5233] Sat, 28 October 1995 00:00 Go to previous message
rivers is currently offline  rivers
Messages: 228
Registered: March 1991
Senior Member
In article <30916108.41C67EA6@shapley.colorado.edu>, Mark Fardal <fardal@shapley.colorado.edu> writes:
> Okay, I give up,
>
> If you have a widget application that crashes somewhere in the event
> handler, how do you (a) remove the current widget and (b) make sure
> everything is okay when you start the widget application again?
>
> I can destroy the widget either by closing the Xwindow or by typing
> WIDGET_CONTROL, /RESET. But then when I start up the widget again it
> is unresponsive; the buttons and menus can be manipulated but they
> don't call the event handler. Right now the only way I know of to
> restart the widget is to exit and restart IDL.

Take a look at your terminal window when it is unresponsive, you will probably
see the IDL prompt. If so then just type XMANAGER to start the event
processing.

____________________________________________________________
Mark Rivers (312) 702-2279 (office)
CARS (312) 702-9951 (secretary)
Univ. of Chicago (312) 702-5454 (FAX)
5640 S. Ellis Ave. (708) 922-0499 (home)
Chicago, IL 60637 rivers@cars3.uchicago.edu (Internet)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Has anyone used callable IDL from Visual Basic?
Next Topic: IDL hung up

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

Current Time: Wed Oct 08 17:35:57 PDT 2025

Total time taken to generate the page: 0.01009 seconds