Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!bcm!dimacs.rutgers.edu!seismo!uunet!nancy!dave From: dave@nancy.uucp (Dave Harris) Newsgroups: comp.windows.x Subject: Translations problems Message-ID: <1991Feb21.215224.29881@nancy.uucp> Date: 21 Feb 91 21:52:24 GMT Sender: dave@nancy.uucp (Dave Harris) Organization: American Systems Corporation Lines: 38 Can anyone out in X land help me out with a translations problem. For some reason all of the screens in my application are having problems with translation tables. The problem has to do with picking up certain function keys. Example /* 02-08-91 changed KeyUp to Key */ static XtTranslations s2_trans_table; static char translations[]= "F3: Toggle()\n\ : Toggle()\n\ F9: Backup()\n\ F2: Helper()\n\ : Edit()"; . . . if (s2_trans_table == NULL){ s2_trans_table = XtParseTranslationTable(translations); } XtOverrideTranslations(Sub_menu, s2_trans_table); The Btn2Down translation works, the F9 works, the F3 does'nt. I have other cases which are similiar, in some cases I am only using function keys, and only half of them seam to work. What gives. Exactly what is going on in the translations layer of Intrinsics? Send Email also @ O 0 o 0 O @ O 0 o 0 O @ O 0 o 0 O @ 0 ~T~ ~T~ ~T~ ~T~ ~T~ ~T~ ~T~ ~T~ ~T~ ~T~ ~T~ ~T~ ~T~ ~T~ ~T~ ~T~ ~T~ ~T~ ~T~ ~T~ /^\ /^\ /^\ /^\ /^\ /^\ /^\ /^\ /^\ /^\ /^\ /^\ /^\ /^\ /^\ /^\ /^\ /^\ /^\ /^\ @ He may not have a vision for |David A. Harris @ ASC just another bandit@ ~T~ America's future, but he must |dave@asc.com or dave%nancy@uunet.uu.net ~T~ /^\ have had a fantasy of his presidency....Mark Alan Stamaty /^\ :;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;: