ITT Rule IDL Version 7.0 User Manual Page 349

  • Download
  • Add to my manuals
  • Print
  • Page
    / 430
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 348
Chapter 15: Creating a Custom iTool Widget Interface 349
iTool Developer’s Guide Adding an iTool Window
by interactively importing new data and creating new visualizations using the
iTool Data Import Wizard or Insert Visualization dialog.
These methods are standard to all iTools, and are discussed in the iTool User’s Guide.
The contents of the iTool window can also be manipulated programmatically from
“outside” the iTool framework in various ways:
by applying an operation using the iTool objects DoAction method.
by changing a property value using the iTool object’s DoSetProperty method.
by importing and visualizing new data, either by calling an iTool creation
routine with the VIEW_NUMBER keyword set to replace the existing
visualization, or by retrieving the iTool data item and using its SetData
method.
These programmatic methods for modifying the contents of an existing iTool are
discussed in Appendix A, “Controlling iTools from the IDL Command Line”.
Resizing iTool Windows
The CW_ITWINDOW compound widget defines a separate procedure,
CW_ITWINDOW_RESIZE, that accepts as arguments the new width and height of
the iTool window. This procedure handles all calculations necessary to properly
resize the window, taking into account the current zoom factors and the presence or
absence of scroll bars. See “CW_ITWINDOW” on page 416 for complete details.
Page view 348
1 2 ... 344 345 346 347 348 349 350 351 352 353 354 ... 429 430

Comments to this Manuals

No comments