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

Home » Public Forums » archive » Re: Ghost Widgets!
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: Ghost Widgets! [message #77432 is a reply to message #77429] Tue, 30 August 2011 10:31 Go to previous messageGo to previous message
bill.dman is currently offline  bill.dman
Messages: 17
Registered: June 2007
Junior Member
Hi David,
I'm not sure, but this might be worth a try:
;=========================================================== ========
;+
; NAME: runwids
; ONELINER: An IDL batch file (script) that activates non-blocked
widgets after a STOP is encountered
; FACILITY: Debugging, widgets, stop, xmanager
; LANGUAGE: IDL
; EXECUTABLE:
; USAGE: @runwids (Then, use control-C to return to the command
line when ready)
; URL:
; AUTHOR: w dieckmann, inspired by comp.lang.idl-pvwave
; CREATED: 2004-08-31
;
; ARGUMENTS:
;
; RETURNS:
;
; MODIFIED:
;
; DESCRIPTION: Non blocking widgets and iTools come to a screeching
halt when a STOP is
; encountered. This script reactivates the widgets until
control-C is pressed,
; which returns control to the command line in the
context of the STOP. Note,
; you should wait until widget event code or iTool
calculations are complete
; before doing control-C, or you can end up in the
context of those codes.
;-

print, '@runwids: Running widget events. Press control-C to stop.' $
& while 1 do begin & wait, 0.05 & undefine, widget_event(/NOWAIT) &
endwhile
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Put a 2d plot and an image into a 3D coordinate system
Next Topic: last call before delivering GDL 0.9.2

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

Current Time: Sat Oct 11 15:11:05 PDT 2025

Total time taken to generate the page: 0.31875 seconds