Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!smsc.sony.com!dce From: dce@smsc.sony.com (David Elliott) Newsgroups: comp.windows.x Subject: User-defined events for translations Message-ID: <1991Jan26.010033.13091@smsc.sony.com> Date: 26 Jan 91 01:00:33 GMT Sender: dce@smsc.sony.com (David Elliott) Organization: Sony Microsystems Corp, San Jose, CA Lines: 12 I have a program in which I would like to allow the user to define translations for non-X events. For example, I could have an XtAddInput or XtAddWorkProc callback "post" an event, say "FileInput", and then specify a translation for that, as in: !: do_something() \n\ : do_something_else() Is there anything in Xt for doing this? Otherwise, I'll just define a set of resources for defining what actions to call.