NAME
XtAppSetFallbackResources - set fallback resources
SYNTAX
void XtAppSetFallbackResources(XtAppContext _a_p_p___c_o_n_t_e_x_t, String*
_s_p_e_c_i_f_i_c_a_t_i_o_n___l_i_s_t);
ARGUMENTS
-
_a_p_p___c_o_n_t_e_x_t
Specifies the application context.
-
-
_s_p_e_c_i_f_i_c_a_t_i_o_n___l_i_s_t
Specifies a NULL-terminated list of resource specifications to pre-load
-
the database, or NULL.
DESCRIPTION
Each entry in _s_p_e_c_i_f_i_c_a_t_i_o_n___l_i_s_t points to a string in the format
_X_r_m_P_u_t_L_i_n_e_R_e_s_o_u_r_c_e.
following a call to
_X_t_A_p_p_S_e_t_F_a_l_l_b_a_c_k_R_e_s_o_u_r_c_e_s,
when a resource database is being created for a particular screen and
the Intrinsics are not able to find or read an application-specific
class resource file and if _s_p_e_c_i_f_i_c_a_t_i_o_n___l_i_s_t is not NULL the
resource specification in _s_p_e_c_i_f_i_c_a_t_i_o_n___l_i_s_t will be merged
into the screen resource database in place of the application-specific
class resource file.
_X_t_A_p_p_S_e_t_F_a_l_l_b_a_c_k_R_e_s_o_u_r_c_e_s
is not required to copy _s_p_e_c_i_f_i_c_a_t_i_o_n___l_i_s_t; the caller must
ensure that the contents of the list and the strings addressed by the
list remain valid until all displays are initialized or until
_X_t_A_p_p_S_e_t_F_a_l_l_b_a_c_k_R_e_s_o_u_r_c_e_s
is called again. The value NULL for _s_p_e_c_i_f_i_c_a_t_i_o_n___l_i_s_t removes
any previous fallback resource specification for the application context.
The intended use for fallback resources is to provide a minimal number
of resources that will make the application usable (or at least terminate
with helpful diagnostic messages) when some problem exists in finding
and loading the application defaults file.
SEE ALSO
_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