GEOS SDK TechDocs
|
|
1.1 Designing the UI Tree.
|
2 Module Information Routine
Once you have constructed the UI tree, write a routine that returns the head of that tree. This should be the first routine exported in your module's .gp file. The Preferences Manager knows to call the first exported routine when it needs the UI tree for a module.
The routine should have the parameters
optr _pascal (void)
For an example of such a routine, see UI Fetch Routine .
Code Display 22-2 UI Fetch Routine
optr _pascal MPMGetPrefUITree(void) { return (@MPMRoot);}
GEOS SDK TechDocs
|
|
1.1 Designing the UI Tree.
|
2 Module Information Routine