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

Home » Public Forums » archive » Re: group leader for iTools
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: group leader for iTools [message #45827] Wed, 12 October 2005 14:33
David Alexander is currently offline  David Alexander
Messages: 26
Registered: August 2005
Junior Member
I forgot to mention that you need to use the KILL_NOTIFY keyword when
creating your top-level base widget, and put the call to
itReset/itDelete in your kill notify procedure.

Dave
Re: group leader for iTools [message #45829 is a reply to message #45827] Wed, 12 October 2005 14:28 Go to previous message
David Alexander is currently offline  David Alexander
Messages: 26
Registered: August 2005
Junior Member
Benjamin,

There's no way to set a group leader for an iTool. However, to close an
iTool programatically you can use either the itDelete or itReset
commands.

itDelete will close a single tool. So, for example:

IDL> iplot,findgen(10),IDENTIFIER=idPlot
IDL> itDelete, idPlot

itReset will reset the entire iTools system, so it's useful if you want
to close multiple tool windows at once.

Note that there are some iTools dialogs which are tool-independent
(like the Macro Editor and Style Editor windows), and if these are
open, they won't be closed after calling itDelete. To close those you
have to use itReset.

Dave
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Quick question regarding "where" function
Next Topic: distorted images

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

Current Time: Fri Oct 10 11:44:20 PDT 2025

Total time taken to generate the page: 1.67661 seconds