Specifications

iii
Layout Editor Preferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22
Layout Editor Context Menus . . . . . . . . . . . . . . . . . . . . . . . . . . 3-23
Selecting GUI Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-25
Configuring the GUI M-File . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-25
Resize Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-26
Command-Line Accessibility . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-27
Generate FIG-File and M-File . . . . . . . . . . . . . . . . . . . . . . . . . . 3-29
Generate Callback Function Prototypes . . . . . . . . . . . . . . . . . . 3-30
GUI Allows Only One Instance to Run (Singleton) . . . . . . . . . 3-32
Using the System Background Colors . . . . . . . . . . . . . . . . . . . 3-32
Generate FIG-File Only . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-33
Aligning Components in the Layout Editor . . . . . . . . . . . . . 3-34
Aligning Groups of Components — The Alignment Tool . . . . . 3-34
Grids and Rulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-36
Aligning Components to Guide Lines . . . . . . . . . . . . . . . . . . . . 3-37
Front-to-Back Positioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-38
Setting Component Properties — The Property
Inspector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-40
Displaying the Property Inspector . . . . . . . . . . . . . . . . . . . . . . 3-40
What Properties Do I Need to Set? . . . . . . . . . . . . . . . . . . . . . . 3-41
Some Commonly Used Properties . . . . . . . . . . . . . . . . . . . . . . . 3-42
Setting Properties for Some Specific Components . . . . . . . . . . 3-43
Callback Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-51
Changing Tag and Callback Properties . . . . . . . . . . . . . . . . . . 3-53
Viewing the Object Hierarchy — The Object Browser . . . 3-56
Creating Menus — The Menu Editor . . . . . . . . . . . . . . . . . . . 3-57
Defining Menus for the Menu Bar . . . . . . . . . . . . . . . . . . . . . . 3-58
Menu Callbacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-63
Defining Context Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-65
Setting the Tab Order — The Tab Order Editor . . . . . . . . . 3-69