Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!rutgers!usc!bloom-beacon!EXPO.LCS.MIT.EDU!kit From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: Open Look Text Widgets Message-ID: <8908071605.AA14931@expo.lcs.mit.edu> Date: 7 Aug 89 16:05:09 GMT References: <206@griffin.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 31 > I've tried to add actions and augment or override > translations, for example; > ": myaction()" > Updating the translation table for an Open Look Text Widget does not > seem to work (myaction() is never executed). Without a short example program, I don't know what the problem is. > Also for the Text Widget: > - I would like to set compress_motion for the Text Widget and Unless you are rewriting the widget you REALLY don't want to do this. Most likely this will break the Text widget. > - access the original translation table What does this mean? If you want to just read the values, I would hope that the documentation contains an accurate version of the default translation table. If you want to change the translation table then simply changing the resources or using XtOverrideTranslations() or XtAugmentTranslations() should do the trick. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213