ITT Rule IDL Version 7.0 User Manual Page 334

  • Download
  • Add to my manuals
  • Print
  • Page
    / 430
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 333
334 Chapter 15: Creating a Custom iTool Widget Interface
About Custom iTool Widget Interfaces iTool Developers Guide
Use of the iTool compound widgets (see Appendix B, “iTool Compound
Widgets”).
What You Will Need to Create
To build a custom iTool user interface, you will need to create a minimum of two
new
.pro files:
The widget interface definition. This file creates the widget interface, defines
event handlers and callbacks, takes care of widget resizing and cleanup, and
registers the widgets with a user interface object.
A launch routine. This file registers the custom interface with the iTools
system and launches the iTool with the specified interface.
You may create any number of other additional files, but in most cases you will also
create:
An iTool class definition routine. This file creates an instance of the iTool that
will use your custom interface. The iTool class definition may simply subclass
an existing iTool class, registering new items or unregistering some of the
standard items, or it may be an entirely new iTool of your creation.
Note
While you can create an iTool interface that mimics an existing application’s
traditional widget interface, you cannot simply add iTool compound widgets to an
existing widget interface. The iTool compound widgets rely on the iTool system,
and will not function on their own.
Page view 333
1 2 ... 329 330 331 332 333 334 335 336 337 338 339 ... 429 430

Comments to this Manuals

No comments