Guidelines for Developing Scriptable Applications
To create a new scriptable Views application or make an existing application scriptable, follow these guidelines:
Use an object of the class IlvApplication, or of a derived class, as your application’s root object. Once your IlvApplication object is created, bind it using the name Application.
Add all the panels to the IlvApplication object so that they can be accessed from the Application object in Script for Views.
After creating IlvDisplay, initialize the Script for Views auxiliary library using the following code:
IlvJvScriptLanguage::InitAuxiliaryLib(appli->getDisplay());
Initialization is required when you want to use the IlvCommonDialog object or create IlvPoint, IlvRect, or IlvGadgetContainer objects in Script for Views.