Re: group leader for iTools [message #45827] |
Wed, 12 October 2005 14:33 |
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  |
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
|
|
|