NAME
XtParseTranslationTable, XtAugmentTranslations, XtOverrideTranslations, XtUninstallTranslations - manage translation tables
SYNTAX
XtTranslations XtParseTranslationTable(String _t_a_b_l_e);
void XtAugmentTranslations(Widget _w, XtTranslations _t_r_a_n_s_l_a_t_i_o_n_s);
void XtOverrideTranslations(Widget _w, XtTranslations
_t_r_a_n_s_l_a_t_i_o_n_s);
void XtUninstallTranslations(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 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 translation 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 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