


XtParseTranslationTable(3Xt)			 XtParseTranslationTable(3Xt)
X11R5									X11R5



NAME
  XtParseTranslationTable, XtAugmentTranslations, XtOverrideTranslations,
  XtUninstallTranslations - manage translation tables

SYNTAX
  XtTranslations XtParseTranslationTable(_t_a_b_l_e)
	String _t_a_b_l_e;

  void XtAugmentTranslations(_w,	_t_r_a_n_s_l_a_t_i_o_n_s)
	Widget _w;
	XtTranslations _t_r_a_n_s_l_a_t_i_o_n_s;

  void XtOverrideTranslations(_w, _t_r_a_n_s_l_a_t_i_o_n_s)
	Widget _w;
	XtTranslations _t_r_a_n_s_l_a_t_i_o_n_s;

  void XtUninstallTranslations(_w)
	Widget _w;

ARGUMENTS

  _t_a_b_l_e	    Specifies the translation table to compile.

  _t_r_a_n_s_l_a_t_i_o_n_s
	    Specifies the compiled translation table to	merge in (must not be
	    NULL).

  _w	    Specifies the widget into which the	new translations are to	be
	    merged or removed.

DESCRIPTION
  The _X_t_P_a_r_s_e_T_r_a_n_s_l_a_t_i_o_n_T_a_b_l_e function compiles	the translation	table into
  the opaque internal representation of	type _X_t_T_r_a_n_s_l_a_t_i_o_n_s.  Note that	if an
  empty	translation table is required for any purpose, one can be obtained by
  calling _X_t_P_a_r_s_e_T_r_a_n_s_l_a_t_i_o_n_T_a_b_l_e and passing an empty string.

  The _X_t_A_u_g_m_e_n_t_T_r_a_n_s_l_a_t_i_o_n_s function nondestructively merges the new transla-
  tions	into the existing widget translations.	If the new translations	con-
  tain an event	or event sequence that already exists in the widget's trans-
  lations, the new translation is ignored.

  The _X_t_O_v_e_r_r_i_d_e_T_r_a_n_s_l_a_t_i_o_n_s function destructively merges the new transla-
  tions	into the existing widget translations.	If the new translations	con-
  tain an event	or event sequence that already exists in the widget's trans-
  lations, the new translation is merged in and	override the widget's trans-
  lation.

  To replace a widget's	translations completely, use _X_t_S_e_t_V_a_l_u_e_s on the
  XtNtranslations resource and specify a compiled translation table as the
  value.


  The _X_t_U_n_i_n_s_t_a_l_l_T_r_a_n_s_l_a_t_i_o_n_s function causes the entire translation table
  for widget to	be removed.




SEE ALSO
  XtAppAddActions(3Xt),	XtCreatePopupShell(3Xt),
  XtParseAcceleratorTable(3Xt),	XtPopup(3Xt)
  _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
  _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e	delim off





























































