


XtQueryGeometry(3Xt)					 XtQueryGeometry(3Xt)
X11R5									X11R5



NAME
  XtQueryGeometry - query the preferred	geometry of a child widget

SYNTAX
  XtGeometryResult XtQueryGeometry(_w, _i_n_t_e_n_d_e_d,	_p_r_e_f_e_r_r_e_d__r_e_t_u_r_n)
       Widget _w;
       XtWidgetGeometry	*_i_n_t_e_n_d_e_d, *_p_r_e_f_e_r_r_e_d__r_e_t_u_r_n;

ARGUMENTS

  _i_n_t_e_n_d_e_d  Specifies any changes the parent plans to make to the child's
	    geometry or	NULL.

  _p_r_e_f_e_r_r_e_d__r_e_t_u_r_n
	    Returns the	child widget's preferred geometry.

  _w	    Specifies the widget.

DESCRIPTION
  To discover a	child's	preferred geometry, the	child's	parent sets any
  changes that it intends to make to the child's geometry in the correspond-
  ing fields of	the intended structure,	sets the corresponding bits in
  intended.request_mode, and calls _X_t_Q_u_e_r_y_G_e_o_m_e_t_r_y.

  _X_t_Q_u_e_r_y_G_e_o_m_e_t_r_y clears all bits in the preferred_return->request_mode	and
  checks the query_geometry field of the specified widget's class record.  If
  query_geometry is not	NULL, _X_t_Q_u_e_r_y_G_e_o_m_e_t_r_y calls the	query_geometry pro-
  cedure and passes as arguments the specified widget, intended, and
  preferred_return structures.	If the intended	argument is NULL, _X_t_Q_u_e_r_y_-
  _G_e_o_m_e_t_r_y replaces it with a pointer to an _X_t_W_i_d_g_e_t_G_e_o_m_e_t_r_y structure with
  request_mode=0 before	calling	query_geometry.

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






















