XtParseTranslationTable(3Xt)AIX (XT FUNCTIONS)XtParseTranslationTable(3Xt) NAME XtParseTranslationTable, XtAugmentTranslations, XtOverride- Translations, 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 transla- tions 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 transla- tion 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 translations into the existing widget translations. If the new translations contain an event or event sequence that already exists in the widget's translations, 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 translations into the existing widget translations. If the new translations contain an event or event sequence that already exists in the widget's translations, the new trans- lation is merged in and override the widget's translation. To replace a widget's translations completely, use _X_t_S_e_t_- _V_a_l_u_e_s on the XtNtranslations resource and specifiy a com- piled translation table as the value. Rev. Release 3 Page 1 XtParseTranslationTable(3Xt)AIX (XT FUNCTIONS)XtParseTranslationTable(3Xt) 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 Rev. Release 3 Page 2