ITT Rule IDL Version 7.0 Manuel d'utilisateur Page 381

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 430
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 380
Appendix A: Controlling iTools from the IDL Command Line 381
iTool Developer’s Guide Retrieving an iTool Object Reference
Retrieving an iTool Object Reference
In order to change an existing iTool from the IDL command line (or from a non-iTool
routine), you must first retrieve an object reference to the iTool you wish to change.
Use the TOOL keyword to the ITGETCURRENT function to retrieve the object
reference to the currently-active iTool:
idTool = ITGETCURRENT(TOOL=oTool)
In this example, the variable idTool will contain the iTool’s object identifier, and
the variable
oTool will contain the iTool’s object reference.
Note that the iTool for which you want to retrieve the object reference must be the
currently-active tool. You can ensure that an iTool is the currently-active tool in the
following ways:
An iTool that has just been created is the currently-active tool.
Select the iTool manually, using the mouse.
Use the IDENTIFIER keyword when creating the iTool to retrieve its object
identifier. Then use the ITCURRENT procedure to make the iTool active.
IPLOT,
data
, IDENTIFIER=idTool
...
other IDL commands
...
ITCURRENT, idTool
Vue de la page 380
1 2 ... 376 377 378 379 380 381 382 383 384 385 386 ... 429 430

Commentaires sur ces manuels

Pas de commentaire