Workbench User Guide : Generating Frames from Predefined Templates
 
Share this page          
Generating Frames from Predefined Templates
 
Overview
Include Predefined Template Packages in Your Application
Frame Templates
The about_box Template
The active_display Template
The Calculator Template
The find_dialog Template
The font_dialog Template
The splash_screen Template
The text_editor Template
The w7_display Template
The financial_calculator Template
The mastdetl Templates
The table_editor Template
The toolbar_window Template
Overview
OpenROAD Workbench provides a set of predefined frame templates that let you quickly integrate some of the components commonly featured in many of today's powerful applications. These templates are contained in a set of OpenROAD libraries that may be easily included in your application.
Each predefined frame template has an associated “assistant” that prompts you for information used in customizing the frame. This enables you to create the frame layout dynamically based on your input.
In this chapter, you will learn:
How to use the predefined frame templates included in Workbench to create frames
How to customize these generated frames using the assistants associated with the predefined templates
How end users can use these generated frames
Only the following templates are described in this chapter:
Library
Template
core
Note:  Creating frames with the dialog_box, empty_frame, and menu templates is described in Generating Frames from Predefined Templates. Also see Creating and Modifying Menus.
finance
misc
Note:  For more information, see Creating Toolbars.
To use the finance, mastdetl, and misc libraries, you must include them in your application. For more information, see Include Predefined Template Packages in Your Application.