NAME

XtInitialize - initialize

SYNTAX

Widget XtInitialize(String _s_h_e_l_l___n_a_m_e, String _a_p_p_l_i_c_a_t_i_o_n___c_l_a_s_s, XrmOptionDescRec* _o_p_t_i_o_n_s, Cardinal _n_u_m___o_p_t_i_o_n_s, int* _a_r_g_c, char** _a_r_g_v);

ARGUMENTS

_s_h_e_l_l___n_a_m_e Specifies the name of the created shell widget.
_a_p_p_l_i_c_a_t_i_o_n___c_l_a_s_s Specifies the class name of this application, which usually is the generic name for all instances of this application.
_o_p_t_i_o_n_s Specifies how to parse the command line for any application-specific resources.
The options argument is passed as a parameter to _X_r_m_P_a_r_s_e_C_o_m_m_a_n_d. For further information, see _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e.
_n_u_m___o_p_t_i_o_n_s Specifies the number of entries in the options list.
_a_r_g_c Specifies a pointer to the number of command line parameters.
_a_r_g_v Specifies the command line parameters.

DESCRIPTION

_X_t_I_n_i_t_i_a_l_i_z_e calls _X_t_T_o_o_l_k_i_t_I_n_i_t_i_a_l_i_z_e followed by _X_t_O_p_e_n_D_i_s_p_l_a_y with _d_i_s_p_l_a_y___s_t_r_i_n_g NULL and _a_p_p_l_i_c_a_t_i_o_n___n_a_m_e NULL, and finally calls _X_t_A_p_p_C_r_e_a_t_e_S_h_e_l_l with _a_p_p_l_i_c_a_t_i_o_n___n_a_m_e NULL, _w_i_d_g_e_t___c_l_a_s_s _a_p_p_l_i_c_a_t_i_o_n_S_h_e_l_l_W_i_d_g_e_t_C_l_a_s_s, and the specified _a_r_g_s and _n_u_m___a_r_g_s and returns the created shell. The semantics of calling _X_t_I_n_i_t_i_a_l_i_z_e more than once are undefined. This routine has been replaced by _X_t_A_p_p_I_n_i_t_i_a_l_i_z_e.

SEE ALSO

XtAppInitialize(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