mef@xyvi.UUCP (Mike Feldman) (11/28/90)
I have a problem specifying a Translation Table for a Motif widget. The Translation Table gets corrupted or overridden and leads to some unexpected functionality of the keyboard keys. Here is what I do: My widget is declared as XmDrawingArea widget and it is a child of XmMainWindow widget. In the MrmNcreateCallback for my XmDrawingArea widget I call XtAppAddActions and after XtRealizeWidget(toplevel) for the whole MRM Hierarchy I call XtOverrideTranslations using my own Translation Table for the XmDrawingArea widget. I also tried to use XtSetValues for XtNtranslations resource specifying my Translation Table. In either case I can not get the proper behavior. It seems that some of the key translations are accepted while others are not. Should I be using the inputCallback resource in some way or am I doing something else wrong ? ( Is there a known Motif bug with Translations?) We running Motif 1.1 on DECstations w/ Ultrix 4.0 Any help is greatly appreciated...