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

  1.  
  2.  
  3.  
  4. XQueryTree(3X11)      XLIB FUNCTIONS     XQueryTree(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XQueryTree - query window tree information
  9.  
  10. SSYYNNTTAAXX
  11.        Status XQueryTree(_d_i_s_p_l_a_y, _w, _r_o_o_t___r_e_t_u_r_n, _p_a_r_e_n_t___r_e_t_u_r_n,
  12.        _c_h_i_l_d_r_e_n___r_e_t_u_r_n, _n_c_h_i_l_d_r_e_n___r_e_t_u_r_n)
  13.          Display *_d_i_s_p_l_a_y;
  14.          Window _w;
  15.          Window *_r_o_o_t___r_e_t_u_r_n;
  16.          Window *_p_a_r_e_n_t___r_e_t_u_r_n;
  17.          Window **_c_h_i_l_d_r_e_n___r_e_t_u_r_n;
  18.          unsigned int *_n_c_h_i_l_d_r_e_n___r_e_t_u_r_n;
  19.  
  20. AARRGGUUMMEENNTTSS
  21.        _c_h_i_l_d_r_e_n___r_e_t_u_r_n
  22.          Returns the list of children.
  23.  
  24.        _d_i_s_p_l_a_y     Specifies the connection to the X server.
  25.  
  26.        _n_c_h_i_l_d_r_e_n___r_e_t_u_r_n
  27.          Returns the number of children.
  28.  
  29.        _p_a_r_e_n_t___r_e_t_u_r_n
  30.          Returns the parent window.
  31.  
  32.        _r_o_o_t___r_e_t_u_r_n
  33.          Returns the root window.
  34.  
  35.        _w     Specifies the window whose list of children,
  36.          root, parent, and number of children you want to
  37.          obtain.
  38.  
  39. DDEESSCCRRIIPPTTIIOONN
  40.        The _X_Q_u_e_r_y_T_r_e_e function returns the root ID, the parent
  41.        window ID, a pointer to the list of children windows (NULL
  42.        when there are no children), and the number of children in
  43.        the list for the specified window.  The children are
  44.        listed in current stacking order, from bottom-most (first)
  45.        to top-most (last).  _X_Q_u_e_r_y_T_r_e_e returns zero if it fails
  46.        and nonzero if it succeeds.  To free a non-NULL children
  47.        list when it is no longer needed, use _X_F_r_e_e.
  48.  
  49. BBUUGGSS
  50.        This really should return a screen *, not a root window
  51.        ID.
  52.  
  53. SSEEEE AALLSSOO
  54.        XFree(3X11), XGetWindowAttributes(3X11), XQuery-
  55.        Pointer(3X11)
  56.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.