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

Home » Public Forums » archive » Re: closing xwindows within IDL
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: closing xwindows within IDL [message #62191 is a reply to message #62189] Thu, 28 August 2008 09:31 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mark writes:

> I'm running IDL remotely using x-windows, using multiple calls to
> xobjview. At some point, my Mac seems to decide that there are two
> many x-windows open and crashes. Is there a way for IDL to close such
> an xwindow, or alternatively, close the window that xobjview opens.

You could use the TLB keyword to get back the identifier of
the top-level base widget used to create the "window". But
you will have to remove the BLOCK keyword to get this to
work. After you have written your image, just call
Widget_Control, tlb, /Destroy to destroy XObjView. Note
that the object hierarchy you passed to XObjView is *not*
destroyed when XObjView is destroyed. So you will have
to do that separately.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: closing xwindows within IDL
Next Topic: Newbie questin regarding Widget timers

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

Current Time: Sun Oct 12 06:07:53 PDT 2025

Total time taken to generate the page: 0.64377 seconds