


XtCreateWindow(3Xt)					  XtCreateWindow(3Xt)
X11R5									X11R5



NAME
  XtCreateWindow - window creation convenience function

SYNTAX
  void XtCreateWindow(_w, _w_i_n_d_o_w__c_l_a_s_s, _v_i_s_u_a_l, _v_a_l_u_e__m_a_s_k, _a_t_t_r_i_b_u_t_e_s)
	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:

  oo++    depth

  oo++    screen

  oo++    parent -> core.window

  oo++    x

  oo++    y

  oo++    width

  oo++    height

  oo++    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



