ITT Rule IDL Version 7.0 Manuel d'utilisateur Page 360

  • 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 359
360 Chapter 15: Creating a Custom iTool Widget Interface
Example: a Custom iTool Interface iTool Developers Guide
Example: a Custom iTool Interface
This example creates a custom iTool interface that incorporates several standard IDL
widgets to the left of the drawable area and displays a subset of the menus and
toolbars that appear in a standard iTool. A button widget inserts a plot line created
from random data, and several controls allow the user to change the number of points
used to create the line, the line thickness, and the line color. Finally, a button
launches an iTool operation that affects the selected plot data. The finished interface
looks like this:
The example is purposefully simple. All of the actions accomplished by the custom
interface can be accomplished using the standard iTool interface. It does, however,
illustrate the concepts necessary to create a custom iTool interface.
This example consists of three files, described in the following sections:
Widget Interface Creation Routine (Page 361)
iTool Class Definition Routine Discussion (Page 375)
iTool Launch Routine Discussion (Page 377)
Figure 15-1: Example Custom iTool Interface
Vue de la page 359
1 2 ... 355 356 357 358 359 360 361 362 363 364 365 ... 429 430

Commentaires sur ces manuels

Pas de commentaire