Help on the Window Manager
←Previous Next→ Contents Close Download Help
  Customizing the Mwm Menus

  You can modify any of the window manager menus such
  as the window menu to change the menu names and
  accelerators or to add new items.

  For example, to start a DECterm from the window menu,

  1.  Add this item to the window menu.  The menus are
      defined in the resource configuration file.

          "Start  DECterm"  _D  Alt<Key>F17  f.exec  "create/terminal/detached"
          for  OpenVMS.

          "Start  DECterm"  _D  Alt<Key>F17  f.exec  "/usr/bin/dxterm"
          for  other  systems.

  2.  Restart Mwm.

  The menu has the form

  Menu  MenuName
  {
  "Menu  Item"     [_mneumonic]    [accelerator]    f.function  [argument]
  ...
  }

  The mneumonic or underlined character should be contained
  in the menu item.  The accelerator should be of the form,
  Modifier<Key>Keyname.  The mneumonic and accelerator
  are optional.

  In addition to text, the menu item can be an image.  You
  must specify "@bitmapfile" as the entry instead of text.

  For your convenience, the Mwm functions are listed at the
  top of the file.  Additional topics:

  *   Resource Configuration Files

  *   Window Manager Functions

  *   The Default Window Menu
←Previous Next→ Contents Close Download Help