
xii Contents
Set Colors Interactively . . . . . . . . . . . . . . . . . . . . . . . 10-58
Set Font Characteristics Interactively . . . . . . . . . . . . 10-59
Customize Tabbing Behavior in a Programmatic UI . 10-62
How Tabbing Works . . . . . . . . . . . . . . . . . . . . . . . . . 10-62
Default Tab Order . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-62
Change the Tab Order in the uipanel . . . . . . . . . . . . 10-64
Create Menus for Programmatic UIs . . . . . . . . . . . . . 10-66
Add Menu Bar Menus . . . . . . . . . . . . . . . . . . . . . . . . 10-66
Add Context Menus to a Programmatic UI . . . . . . . . 10-73
Create Toolbars for Programmatic UIs . . . . . . . . . . . . 10-79
Use the uitoolbar Function . . . . . . . . . . . . . . . . . . . . 10-79
Commonly Used Properties . . . . . . . . . . . . . . . . . . . . 10-79
Toolbars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-80
Display and Modify the Standard Toolbar . . . . . . . . . 10-83
Fonts and Colors for Cross-Platform Compatibility . 10-85
Default System Font . . . . . . . . . . . . . . . . . . . . . . . . . 10-85
Standard Background Color . . . . . . . . . . . . . . . . . . . 10-86
Code a Programmatic UI
11
Initialize a Programmatic UI . . . . . . . . . . . . . . . . . . . . . 11-2
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-2
Write Callbacks Using the Programmatic Workflow . . 11-5
Callbacks for Different User Actions . . . . . . . . . . . . . . 11-5
How to Specify Callback Property Values . . . . . . . . . . 11-7
Callback Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-9
Komentarze do niniejszej Instrukcji