NAME

XtGetApplicationNameAndClass - retrieve application name and class

SYNTAX

void XtGetApplicationNameAndClass(Display* _d_i_s_p_l_a_y, String* _n_a_m_e___r_e_t_u_r_n, String* _c_l_a_s_s___r_e_t_u_r_n);

ARGUMENTS

_d_i_s_p_l_a_y Specifies an open display connection that has been initialized with
_X_t_D_i_s_p_l_a_y_I_n_i_t_i_a_l_i_z_e.
_n_a_m_e___r_e_t_u_r_n Returns the application name.
_c_l_a_s_s___r_e_t_u_r_n Returns the application class.

DESCRIPTION

_X_t_G_e_t_A_p_p_l_i_c_a_t_i_o_n_N_a_m_e_A_n_d_C_l_a_s_s returns the application name and class passed to _X_t_D_i_s_p_l_a_y_I_n_i_t_i_a_l_i_z_e for the specified display. If the display was never initialized or has been closed, the result is undefined. The returned strings are owned by the Intrinsics and must not be modified or freed by the caller.

SEE ALSO

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