NAME
XtCreateWindow - window creation convenience function
SYNTAX
void XtCreateWindow(Widget _w, unsigned int _w_i_n_d_o_w___c_l_a_s_s, Visual
*_v_i_s_u_a_l, XtValueMask _v_a_l_u_e___m_a_s_k, XSetWindowAttributes
*_a_t_t_r_i_b_u_t_e_s);
ARGUMENTS
-
_a_t_t_r_i_b_u_t_e_s
Specifies the window attributes to use in the
-
_X_C_r_e_a_t_e_W_i_n_d_o_w
call.
-
_v_a_l_u_e___m_a_s_k
Specifies which attribute fields to use.
-
-
_v_i_s_u_a_l
Specifies the visual type (usually
-
_C_o_p_y_F_r_o_m_P_a_r_e_n_t).
-
_w
Specifies the widget that is used to set the x,y coordinates and so on.
-
-
_w_i_n_d_o_w___c_l_a_s_s
Specifies the Xlib window class (for example,
-
_I_n_p_u_t_O_u_t_p_u_t,
_I_n_p_u_t_O_n_l_y,
or
_C_o_p_y_F_r_o_m_P_a_r_e_n_t).
DESCRIPTION
The
_X_t_C_r_e_a_t_e_W_i_n_d_o_w
function calls the Xlib
_X_C_r_e_a_t_e_W_i_n_d_o_w
function with values from the widget structure and the passed parameters.
Then, it assigns the created window to the widget's window field.
_X_t_C_r_e_a_t_e_W_i_n_d_o_w
evaluates the following fields of the
_C_o_r_e
widget structure:
-
·
depth
-
-
·
screen
-
-
·
parent -> core.window
-
-
·
x
-
-
·
y
-
-
·
width
-
-
·
height
-
-
·
border_width
-
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