Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!bloom-beacon!ATHENA.MIT.EDU!swick From: swick@ATHENA.MIT.EDU (Ralph R. Swick) Newsgroups: comp.windows.x Subject: Re: Xt Intrinsics Message-ID: <8806272052.AA20443@LYRE.MIT.EDU> Date: 27 Jun 88 20:52:46 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: DEC/MIT Project Athena Lines: 14 Date: Tue, 21 Jun 88 13:46:33 -0100 From: mcvax!latlog!PAYNE@uunet.uu.net using the text widget I want to add another action called interrupt (say) and bind it to ctrl-C (say). However it appears that I can not do this if the initial translation table doesn't contain an explicit translation for ctrl-C (is my interpretation correct?). Your interpretation is incorrect. XtAugmentTranslations and XtOverrideTranslations will add a binding for any event sequence you care to specify. In the case of the Athena text widget, there is a binding for every KeyPress event so you will need to use XtOverrideTranslations to force any new key binding to replace the default one.