Getting the Global Script Context
A Script context is a gateway between Views and the scripting language that should be created before binding any Views objects. If, as explained in the previous section, you have included the script.h header file in the files of your application and linked that application with the appropriate libraries, the global context will be created automatically.
To activate this context, invoke the following function:
IlvScriptLanguage* jvscript = IlvScriptLanguage::Get("JvScript");
IlvScriptContext* theContext = jvscript->getGlobalContext();
This function returns a pointer to the global Script context.
Published date: 05/24/2022
Last modified date: 02/24/2022