Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!usc!merlin.usc.edu!sal-sun37.usc.edu!skertic From: skertic@sal-sun37.usc.edu (Robert Skertic) Newsgroups: comp.windows.x Subject: Translation Table Mgmt Part II Message-ID: <5891@merlin.usc.edu> Date: 21 Oct 89 04:53:53 GMT Sender: news@merlin.usc.edu Reply-To: skertic@sal-sun37.usc.edu () Distribution: usa Organization: University of Southern California, Los Angeles, CA Lines: 28 Reference Article 14970 and 14993 Subject: Translation Table Manipulation Part II Please provide me with specific examples of the following: 1. How do I set tm_table to my default translation table? I have defined my Translation table as follows: static String keys = "CtrlD: noop()\n\..."; static XtActionsRec no_actions[] = {{"noop",noop},}; 2. Why can't I get the following to work? static Arg setargs[] = { {XtNtranslations, (XtTranslations)defaultTextTranslations}, }; XtSetValues(textwindow, setargs, XtNumber(setargs)); I get an error on defaultTextTranslations; The documentation states that defaultTextTranslations is the default Trans Table for a text widget! I should not have to redefine it?? And, if I do, how should I load both tables in the beginning? I apologize for the basic nature of the above questions. You see there is no one to ask here and the references do not give complete examples...as always, thanks ahead of time for your help...frustrated--bob skertic