home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XtGetApplicationResources(3XXtT)FUNCTIXOtNGSetApplicationResources(3Xt)
-
-
- NNAAMMEE
- XtGetApplicationResources, XtVaGetApplicationResources -
- obtain application resources
-
- SSYYNNTTAAXX
- void XtGetApplicationResources(_w, _b_a_s_e, _r_e_s_o_u_r_c_e_s,
- _n_u_m___r_e_s_o_u_r_c_e_s, _a_r_g_s, _n_u_m___a_r_g_s)
- Widget _w;
- XtPointer _b_a_s_e;
- XtResourceList _r_e_s_o_u_r_c_e_s;
- Cardinal _n_u_m___r_e_s_o_u_r_c_e_s;
- ArgList _a_r_g_s;
- Cardinal _n_u_m___a_r_g_s;
-
- void XtVaGetApplicationResources(_w, _b_a_s_e, _r_e_s_o_u_r_c_e_s,
- _n_u_m___r_e_s_o_u_r_c_e_s,_._._.)
- Widget _w;
- XtPointer _b_a_s_e;
- XtResourceList _r_e_s_o_u_r_c_e_s;
- Cardinal _n_u_m___r_e_s_o_u_r_c_e_s;
-
- AARRGGUUMMEENNTTSS
- _a_r_g_s Specifies the argument list to override
- resources obtained from the resource database.
-
- _b_a_s_e Specifies the base address of the subpart data
- structure where the resources should be written.
-
- _n_u_m___a_r_g_s Specifies the number of arguments in the argu-
- ment list.
-
- _n_u_m___r_e_s_o_u_r_c_e_s
- Specifies the number of resources in the
- resource list.
-
- _r_e_s_o_u_r_c_e_s Specifies the resource list for the subpart.
-
- _w Specifies the widget that wants resources for a
- subpart or that identifies the resource database
- to search.
-
- _._._. Specifies the variable arguments to override
- resources obtained from the resource database.
-
- DDEESSCCRRIIPPTTIIOONN
- The _X_t_G_e_t_A_p_p_l_i_c_a_t_i_o_n_R_e_s_o_u_r_c_e_s function first uses the
- passed widget, which is usually an application shell, to
- construct a resource name and class list, Then, it
- retrieves the resources from the argument list, the
- resource database, or the resource list default values.
- After adding base to each address, _X_t_G_e_t_A_p_p_l_i_c_a_t_i_o_n_-
- _R_e_s_o_u_r_c_e_s copies the resources into the address given in
- the resource list. If args is NULL, num_args must be
- zero. However, if num_args is zero, the argument list is
-
-
-
- X Version 11 Release 6.1 1
-
-
-
-
-
- XtGetApplicationResources(3XXtT)FUNCTIXOtNGSetApplicationResources(3Xt)
-
-
- not referenced. The portable way to specify application
- resources is to declare them as members of a structure and
- pass the address of the structure as the base argument.
-
- SSEEEE AALLSSOO
- _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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- X Version 11 Release 6.1 2
-
-
-