[comp.windows.x] Translations problems

dave@nancy.uucp (Dave Harris) (02/22/91)

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[]=
   "<Key>F3: Toggle()\n\
    <Btn2Down>: Toggle()\n\
     <Key>F9: Backup()\n\
    <Key>F2: Helper()\n\
    <Btn3Down>: Edit()";
	.
	.
	.
  if (s2_trans_table == NULL){
    s2_trans_table = XtParseTranslationTable(translations);
  }
  XtOverrideTranslations(Sub_menu, s2_trans_table);

	The Btn2Down translation works,  the <Key>F9 works, the <Key>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               /^\
:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;: