IlvApplication
Applications built with Views Studio contain an instance of a subclass of the IlvApplication class. This class manages the creation of the IlvDisplay object along with the creation of the application panels (that is, containers). Assuming the name of the application is “MyApp”, the following is a sample of the code that Views Studio would generate:
class MyApp: public IlvApplication {
...
virtual void makePanels();
...
};
void MyApp::makePanels() {
// Create all the panels defined in the Application.
...
}
int main (int argc, char* argv[]) {
...
MyApp* appli = new MyApp(“myapp”, 0, argc, argv);
...
}
Published date: 05/24/2022
Last modified date: 02/24/2022