
7
iTool Developer’s Guide Contents
Chapter 14
Creating a User Interface Panel ......................................................... 311
Overview of the iTool UI Panel .................................................................................... 312
Creating a UI Panel Interface ........................................................................................ 313
Creating Callback Routines ........................................................................................... 318
Registering a UI Panel ................................................................................................... 320
Example: A Simple UI Panel ........................................................................................ 322
Chapter 15
Creating a Custom iTool Widget Interface ........................................ 331
About Custom iTool Widget Interfaces ........................................................................ 332
Overview of Creating an iTool Interface ...................................................................... 335
iTool Widget Interface Concepts .................................................................................. 338
Creating the Interface Routine ...................................................................................... 340
Adding Menus ............................................................................................................... 344
Adding a Toolbar ........................................................................................................... 346
Adding an iTool Window .............................................................................................. 348
Adding a Status Bar ....................................................................................................... 350
Adding a User Interface Panel ....................................................................................... 351
Handling Callbacks ....................................................................................................... 352
Handling Resize Events ................................................................................................. 354
Handling Shutdown Events ........................................................................................... 356
Creating an iTool Launch Routine ................................................................................ 358
Example: a Custom iTool Interface ............................................................................... 360
Appendix A
Controlling iTools from the IDL Command Line ............................... 379
Overview of iTool Programmatic Control .................................................................... 380
Retrieving an iTool Object Reference ........................................................................... 381
Retrieving Component Identifiers ................................................................................. 382
Retrieving Property Information ................................................................................... 385
Changing Property Values ............................................................................................. 389
Running Operations ....................................................................................................... 391
Selecting Items in the iTool ........................................................................................... 393
Replacing Data in an iTool ............................................................................................ 394