NAME
XtGetSubresources, XtVaGetSubresources - obtain subresources
SYNTAX
void XtGetSubresources(Widget _w, XtPointer _b_a_s_e, String
_n_a_m_e, String _c_l_a_s_s, 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 XtVaGetSubresources(Widget _w, XtPointer _b_a_s_e, String
_n_a_m_e, String _c_l_a_s_s, XtResourceList _r_e_s_o_u_r_c_e_s, Cardinal
_n_u_m___r_e_s_o_u_r_c_e_s);
ARGUMENTS
-
_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.
-
_c_l_a_s_s
Specifies the class of the subpart.
-
-
_n_a_m_e
Specifies the name of the subpart.
-
-
_n_u_m___a_r_g_s
Specifies the number of arguments in the argument 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.
-
or that identifies the resource database to search
-
_w
Specifies the widget that wants resources for a subpart .
-
-
_._._.
Specifies the variable arguments to override resources obtained from the resource database.
-
DESCRIPTION
The
_X_t_G_e_t_S_u_b_r_e_s_o_u_r_c_e_s
function constructs a name/class list from the application name/class,
the name/classes of all its ancestors, and the widget itself.
Then, it appends to this list the name/class pair passed in.
The resources are fetched from the argument list, the resource database,
or the default values in the resource list.
Then, they are copied into the subpart record.
If args is NULL,
num_args must be zero.
However, if num_args is zero,
the argument list is not referenced.
SEE ALSO
XtGetApplicationResources, XtVaGetApplicationResources
_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