Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bloom-beacon!TOAST.MAPS.CS.CMU.EDU!Image.Data From: Image.Data@TOAST.MAPS.CS.CMU.EDU Newsgroups: comp.windows.x Subject: Specifying return in trans-table? Message-ID: <8906132006.AA28377@ATHENA.MIT.EDU> Date: 13 Jun 89 20:03:55 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 24 Has anyone been able to specify the return key in the translation table of a widget? I'm trying to change the way an asciiText widget responds to the return key (normally just a newline) by overriding the default translations with : "Return: my_routine() " The XtParseTranslations routine seems to think this is the same as : "R: my_routine() " In the Athena Widgets documentation (pg. 21 in mine), for Text widgets, the defaultTextTranslation string specifies the return key to preform the newline() function like this : "Return: newline() " How come when I do it it doesn't work? Any help would be appreciated.