[comp.windows.x] How to associate an accelerator with a widget?

yong@metasoft.UUCP (Yongdeng Chen) (03/18/89)

How does an accelerator table differs from a translation table?
I understand that each translation table is associated with action
list (XtActionList).  If one wants to add an accelerator to a widget,
what are the tasks needed to be done?  Does one need to update the
ActionList for that widget?

After one parsed the accelerator table, how does one associate that
accelerator with a widget?  There is a routine called 
XtInstallAccelerator.  But which takes two widgets as arguements.
Installing the accelerator from one widget into the other (dst).

Could some Widget-wizard give me some directions?  A small example
will be great.  Thanks!!

__________________________________________________________________
yong%metasoft@bbn.com

Yongdeng Chen
Meta Software Corporation
150 Cambridge Park Drive
Cambridge, MA 02140
(617)576-6920