[comp.windows.x.motif] Can't Override Translation

paul@tredysvr.Tredydev.Unisys.COM (Paul Siu) (01/04/91)

I am trying to customize a widget using the translation table.  A number of
keys refused to be change though.  Let's say I want the F2 key to set off
the button "btn", I can add this to my application resource file.

*btn.translations:     #override\n\
   <Key>F2:        ArmAndActivate()\n\

This works fine for the key "F2".  When I press F2, the button is armed,
and activated.  When I try to use "F1" or "Delete", or "BackSpace", it
doesn't work.  Why?

I am running Motif 1.1, under X11R4.  I thank you for any response.


Paul Siu
paul@tredysvr.tredydev.unisys.com