[comp.windows.x.motif] Modifying the Window Menu

pjp@sloth.mlb.semi.harris.com (Pat J. Pinchera) (01/08/91)

Does anyone know how to modify the window menu (the default menu associated
with the 'close' dash button in the upper left corner of most windows)?
The Programmer's Guide shows how to do this via UIL and default files,
but I want to modify it via application code (C).

What I'm really looking to do is associate a mnemonic/accelerator, ^S or
meta-S, to SAVE the results of text widgets within a window.
Hence the old and new window menus would look like:

OLD
=========
Restore
Move
Size
Lower
_____________ (seperator)
Close

NEW
========
Restore
Move
Size
Lower
Save     ^S
_____________
Close


DECstation 3100
Motif 1.0

Patrick Pinchera
Melbourne, Fl