home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat3 / xtquerygeometry.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. XtQueryGeometry(3Xt)       XT FUNCTIONS         XtQueryGeometry(3Xt)
  5.  
  6.  
  7. NNAAMMEE
  8.        XtQueryGeometry - query the preferred geometry of a child
  9.        widget
  10.  
  11. SSYYNNTTAAXX
  12.        XtGeometryResult XtQueryGeometry(_w, _i_n_t_e_n_d_e_d, _p_r_e_-
  13.        _f_e_r_r_e_d___r_e_t_u_r_n)
  14.         Widget _w;
  15.         XtWidgetGeometry *_i_n_t_e_n_d_e_d, *_p_r_e_f_e_r_r_e_d___r_e_t_u_r_n;
  16.  
  17. AARRGGUUMMEENNTTSS
  18.        _i_n_t_e_n_d_e_d     Specifies any changes the parent plans to make
  19.          to the child's geometry or NULL.
  20.  
  21.        _p_r_e_f_e_r_r_e_d___r_e_t_u_r_n
  22.          Returns the child widget's preferred geometry.
  23.  
  24.        _w     Specifies the widget.
  25.  
  26. DDEESSCCRRIIPPTTIIOONN
  27.        To discover a child's preferred geometry, the child's par-
  28.        ent sets any changes that it intends to make to the
  29.        child's geometry in the corresponding fields of the
  30.        intended structure, sets the corresponding bits in
  31.        intended.request_mode, and calls _X_t_Q_u_e_r_y_G_e_o_m_e_t_r_y.
  32.  
  33.        _X_t_Q_u_e_r_y_G_e_o_m_e_t_r_y clears all bits in the pre-
  34.        ferred_return->request_mode and checks the query_geometry
  35.        field of the specified widget's class record.  If
  36.        query_geometry is not NULL, _X_t_Q_u_e_r_y_G_e_o_m_e_t_r_y calls the
  37.        query_geometry procedure and passes as arguments the spec-
  38.        ified widget, intended, and preferred_return structures.
  39.        If the intended argument is NULL, _X_t_Q_u_e_r_y_G_e_o_m_e_t_r_y replaces
  40.        it with a pointer to an _X_t_W_i_d_g_e_t_G_e_o_m_e_t_r_y structure with
  41.        request_mode=0 before calling query_geometry.
  42.  
  43. SSEEEE AALLSSOO
  44.        XtConfigureWidget(3Xt), XtMakeGeometryRequest(3Xt)
  45.        _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
  46.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.