NAME

XtAppAddConverter, XtAddConverter - register resource converter

SYNTAX

void XtAppAddConverter(XtAppContext _a_p_p___c_o_n_t_e_x_t, String _f_r_o_m___t_y_p_e, String _t_o___t_y_p_e, XtConverter _c_o_n_v_e_r_t_e_r, XtConvertArgList _c_o_n_v_e_r_t___a_r_g_s, Cardinal _n_u_m___a_r_g_s); void XtAddConverter(String _f_r_o_m___t_y_p_e, String _t_o___t_y_p_e, XtConverter _c_o_n_v_e_r_t_e_r, XtConvertArgList _c_o_n_v_e_r_t___a_r_g_s, Cardinal _n_u_m___a_r_g_s);

ARGUMENTS

_a_p_p___c_o_n_t_e_x_t Specifies the application context.
_c_o_n_v_e_r_t_e_r Specifies the type converter procedure.
_c_o_n_v_e_r_t___a_r_g_s Specifies how to compute the additional arguments to the converter or NULL.
_f_r_o_m___t_y_p_e Specifies the source type.
_n_u_m___a_r_g_s Specifies the number of additional arguments to the converter or zero.
_t_o___t_y_p_e Specifies the destination type.

DESCRIPTION

_X_t_A_p_p_A_d_d_C_o_n_v_e_r_t_e_r is equivalent in function to _X_t_A_p_p_S_e_t_T_y_p_e_C_o_n_v_e_r_t_e_r with _c_a_c_h_e___t_y_p_e equal to _X_t_C_a_c_h_e_A_l_l for old-format type converters. It has been superseded by _X_t_A_p_p_S_e_t_T_y_p_e_C_o_n_v_e_r_t_e_r.

_X_t_A_d_d_C_o_n_v_e_r_t_e_r is equivalent in function to _X_t_S_e_t_T_y_p_e_C_o_n_v_e_r_t_e_r with _c_a_c_h_e___t_y_p_e equal to _X_t_C_a_c_h_e_A_l_l for old-format type converters. It has been superseded by _X_t_S_e_t_T_y_p_e_C_o_n_v_e_r_t_e_r.

SEE ALSO

XtConvert(3Xt), XtStringConversionWarning(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