Common Desktop Environment: Application Builder User's Guide

To Establish Application Framework Behavior

  1. Choose Application Framework from the Editors menu in the App Builder primary window to display the editor.

  2. Type a Vendor Name and Version number in the text fields in the Application section, if appropriate.

    These are used in the call to initialize ToolTalk, if ToolTalk is enabled.

  3. Choose a different primary main window, if appropriate.

  4. Set Internationalization to Enabled, if appropriate.

    Internationalization generates labels and strings for objects with a call that fetches the appropriate localized version of the string at run time. It also generates and maintains a similar message catalog.

  5. Select the attributes you want to be written to the Resource file in the Generated Code section.

    The categories you select are written to a resource file instead of directly to the module file; these attributes, therefore, can be modified without recompiling the application.

  6. Choose a Method (None, Command Line, Session File, or Both) in the Session Management section, as appropriate.

  7. Select Session Save Connection and/or Session Restore Connection, as appropriate, to make connections in the Connections Editor.

  8. Choose a Desktop Message Handling level (None, Basic, or Advanced) in the ToolTalk section, as appropriate.

    See "Establishing Application Framework Behavior" for more about ToolTalk message handling.

  9. If you did not choose Advanced in the previous step, click OK to apply the changes made and dismiss the Application Framework Editor.

  10. Click Advanced ToolTalk Connections if you chose Advanced in the previous step.

  11. Choose the appropriate ToolTalk function from the When menu in the Connections Editor.

  12. Choose Call Function as the Action Type.

  13. Type in the name of the appropriate call function.

    This is the name of the function that will be called when a ToolTalk operation is performed. You will have to edit the stubs.c file to make the called function do something useful. See "Adding User Code to Generated Code" for information.

  14. Click Connect to make the connection.

  15. Click Cancel to dismiss the Connections Editor.

  16. Click OK in the Application Framework Editor to apply the changes and dismiss the editor.