Create libraries.rev Stack File
Now you will create a libraries.rev stack file. This stack file is a good place to store libraries that your application uses. The libraries can be substacks of the libraries.rev mainstack.
Open the Stack Inspector
Open the stack inspector by choosing Object > Stack Inspector from the menu.
Save Stack as Stack File
Save the stack by choosing File > Save As... from the menu.
Name the stack file libraries.rev (1) and save it in the ./components folder (2).
Tell the GLX Application Framework About New Library Stack File
Open the GLX Application Framework plugin by choosing Development > Plugins > glxApplicationProperties from the menu.
Select the libraries.rev Stack File
Select the libraries.rev stack file you just created and click the Open button.
The stack file file will be added to the list of stacks in your application. This means the GLX Application Framework will load the stack file into memory when the application is launched.
Tell the Framework The Stack File is a Library
Now scroll the list of stack files to the right until you see the Type column (1). Change the type of the libraries.rev stack file to library (2). Stack files that are designated as libraries are treated differently by the framework. The mainstack of the stack file and any substacks will be put in use ('start using stack STACK_NAME') so that all handlers in the stack scripts will be available to your application.











0 Comments
Add your comment