Appendix H. Standard Menu Resources
Prev |  | Next

## Appendix H. Standard Menu Resources

This appendix provides examples of standard menu resources including:

- “Common Menu Bar Resources”

- “Standard File Menu Resources”

- “Standard Edit Menu Resources”

## Common Menu Bar Resources

The following code defines the common menu bar resources.

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    ! Common Menu Bar Resources                                      !
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    ! Standard Menubar
    ! File Selected Edit View Tools Options Help

    ! <your_widget_name_goes_here>

    *<file>.labelString:          File
    *<file>.mnemonic:             F

    *<selected>.labelString:      Selected
    *<selected>.mnemonic:         S

    *<edit>.labelString:          Edit
    *<edit>.mnemonic:             E

    *<view>.labelString:         View
    *<view>.mnemonic:            V

    *<tools>.labelString:        Tools
    *<tools>.mnemonic:           T

    *<options>.labelString:      Options
    *<options>.mnemonic:         O

    *<help>.labelString:         Help
    *<help>.mnemonic:            H

## Standard File Menu Resources

The following code defines the standard file menu resources.

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    ! Standard File Menu Resources                                   !
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    *<new>.labelString:          New
    *<new>.mnemonic:             N
    *<new>.acceleratorText:      Ctrl+N
    *<new>.accelerator:          Ctrl<Key>N

    *<open>.labelString:         Open...
    *<open>.mnemonic:            O
    *<open>.acceleratorText:     Ctrl+O
    *<open>.accelerator:         Ctrl<Key>O

    *<reopen>.labelString:       Reopen
    *<reopen>.mnemonic:          R

    *<import>.labelString:       Import
    *<import>.mnemonic:          I

    *<save>.labelString:         Save
    *<save>.mnemonic:            S
    *<save>.acceleratorText:     Ctrl+S
    *<save>.accelerator:         Ctrl<Key>S

    *<saveas>.labelString:       Save As...
    *<saveas>.mnemonic:          A

    *<revert>.labelString:       Revert
    *<revert>.mnemonic:          v

    *<print>.labelString:        Print...
    *<print>.mnemonic:           P
    *<print>.acceleratorText:    Ctrl+P
    *<print>.accelerator:        Ctrl<Key>P

    *<close>.labelString:        Close
    *<close>.mnemonic:           C
    *<close>.acceleratorText:    Ctrl+W
    *<close>.accelerator:        Ctrl<Key>W

    *<exit>.labelString:         Exit
    *<exit>.mnemonic:            x
    *<exit>.acceleratorText:     Ctrl+Q
    *<exit>.accelerator:         Ctrl<Key>Q

## Standard Edit Menu Resources

The following code defines the standard edit menu resources.

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    ! Standard Edit Menu Resources                                   !
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    *<undo>.labelString:         Undo
    *<undo>.mnemonic:            U
    *<undo>.acceleratorText:     Ctrl+Z
    *<undo>.accelerator:         Ctrl<Key>Z

    *<redo>.labelString:         Redo
    *<redo>.mnemonic:            R
    *<redo>.acceleratorText:     Shift+Ctrl+Z
    *<redo>.accelerator:         Shift<Key>Ctrl<Key>Z

    *<cut>.labelString:          Cut
    *<cut>.mnemonic:             t
    *<cut>.acceleratorText:      Ctrl+X
    *<cut>.accelerator:          Ctrl<Key>X

    *<copy>.labelString:         Copy
    *<copy>.mnemonic:            C
    *<copy>.acceleratorText:     Ctrl+C
    *<copy>.accelerator:         Ctrl<Key>C

    *<paste>.labelString:        Paste
    *<paste>.mnemonic:           P
    *<paste>.acceleratorText:    Ctrl+V
    *<paste>.accelerator:        Ctrl<Key>V

    *<clear>.labelString:        Clear
    *<clear>.mnemonic:           e

    *<delete>.labelString:       Delete
    *<delete>.mnemonic:          D

    *<select>.labelString:       Select All
    *<select>.mnemonic:          A
    *<select>.acceleratorText:   Ctrl+A
    *<select>.accelerator:       Ctrl<Key>A

    *<deselect>.labelString:     Deselect All
    *<deselect>.mnemonic:        l
    *<deselect>.acceleratorText: Shift+Ctrl+A
    *<deselect>.accelerator:     Shift<Key>Ctrl<Key>A

    *<promote>.labelString:      Promote
    *<promote>.mnemonic:         m
    *<promote>.acceleratorText:  Alt+Insert
    *<promote>.accelerator:      Alt<Key>Insert<Key>

    *<colorEdit>.labelString:    Color Editor...
    *<colorEdit>.mnemonic:       o

Prev | Table of Contents | Next
Appendix G. Using GoldenGate Data Conversion Services |  | Index