NAME
XtQueryGeometry - query the preferred geometry of a child widget
SYNTAX
XtGeometryResult XtQueryGeometry(Widget _w, XtWidgetGeometry
*_i_n_t_e_n_d_e_d, XtWidgetGeometry *_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 corresponding 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 procedure 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