


XtConfigureWidget(3Xt)				       XtConfigureWidget(3Xt)
X11R5									X11R5



NAME
  XtConfigureWidget, XtMoveWidget, XtResizeWidget - move and resize widgets

SYNTAX
  void XtConfigureWidget(_w, _x, _y, _w_i_d_t_h, _h_e_i_g_h_t, _b_o_r_d_e_r__w_i_d_t_h)
	Widget _w;
	Position _x;
	Position _y;
	Dimension _w_i_d_t_h;
	Dimension _h_e_i_g_h_t;
	Dimension _b_o_r_d_e_r__w_i_d_t_h;

  void XtMoveWidget(_w, _x, _y)
	Widget _w;
	Position _x;
	Position _y;

  void XtResizeWidget(_w, _w_i_d_t_h,	_h_e_i_g_h_t,	_b_o_r_d_e_r__w_i_d_t_h)
	Widget _w;
	Dimension _w_i_d_t_h;
	Dimension _h_e_i_g_h_t;
	Dimension _b_o_r_d_e_r__w_i_d_t_h;

  void XtResizeWindow(_w)
	Widget _w;

ARGUMENTS

  _w_i_d_t_h
  _h_e_i_g_h_t
  _b_o_r_d_e_r__w_i_d_t_h
	    Specify the	new widget size.

  _w	    Specifies the widget.

  _x
  _y	    Specify the	new widget x and y coordinates.

DESCRIPTION
  The _X_t_C_o_n_f_i_g_u_r_e_W_i_d_g_e_t	function returns immediately if	the specified
  geometry fields are the same as the old values.  Otherwise, _X_t_C_o_n_f_i_-
  _g_u_r_e_W_i_d_g_e_t writes the	new x, y, width, height, and border_width values into
  the widget and, if the widget	is realized, makes an Xlib _X_C_o_n_f_i_g_u_r_e_W_i_n_d_o_w
  call on the widget's window.

  If either the	new width or height is different from its old value, _X_t_C_o_n_f_i_-
  _g_u_r_e_W_i_d_g_e_t calls the widget's	resize procedure to notify it of the size
  change; otherwise, it	simply returns.

  The _X_t_M_o_v_e_W_i_d_g_e_t function returns immediately	if the specified geometry
  fields are the same as the old values.  Otherwise, _X_t_M_o_v_e_W_i_d_g_e_t writes the
  new x	and y values into the widget and, if the widget	is realized, issues
  an Xlib _X_M_o_v_e_W_i_n_d_o_w call on the widget's window.

  The _X_t_R_e_s_i_z_e_W_i_d_g_e_t function returns immediately if the specified geometry
  fields are the same as the old values. Otherwise, _X_t_R_e_s_i_z_e_W_i_d_g_e_t writes the
  new width, height, and border_width values into the widget and, if the wid-
  get is realized, issues an _X_C_o_n_f_i_g_u_r_e_W_i_n_d_o_w call on the widget's window.

  If the new width or height are different from	the old	values,
  _X_t_R_e_s_i_z_e_W_i_d_g_e_t calls the widget's resize procedure to	notify it of the size
  change.

  The _X_t_R_e_s_i_z_e_W_i_n_d_o_w function calls the	_X_C_o_n_f_i_g_u_r_e_W_i_n_d_o_w Xlib function to
  make the window of the specified widget match	its width, height, and border
  width. This request is done unconditionally because there is no way to tell
  if these values match	the current values.  Note that the widget's resize
  procedure is not called.

  There	are very few times to use _X_t_R_e_s_i_z_e_W_i_n_d_o_w; instead, you should use
  _X_t_R_e_s_i_z_e_W_i_d_g_e_t.

SEE ALSO
  XtMakeGeometryRequest(3Xt), XtQueryGeometry(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	delim off
















































