home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XQueryTree(3X11) XLIB FUNCTIONS XQueryTree(3X11)
-
-
- NNAAMMEE
- XQueryTree - query window tree information
-
- SSYYNNTTAAXX
- 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,
- _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)
- Display *_d_i_s_p_l_a_y;
- Window _w;
- Window *_r_o_o_t___r_e_t_u_r_n;
- Window *_p_a_r_e_n_t___r_e_t_u_r_n;
- Window **_c_h_i_l_d_r_e_n___r_e_t_u_r_n;
- unsigned int *_n_c_h_i_l_d_r_e_n___r_e_t_u_r_n;
-
- AARRGGUUMMEENNTTSS
- _c_h_i_l_d_r_e_n___r_e_t_u_r_n
- Returns the list of children.
-
- _d_i_s_p_l_a_y Specifies the connection to the X server.
-
- _n_c_h_i_l_d_r_e_n___r_e_t_u_r_n
- Returns the number of children.
-
- _p_a_r_e_n_t___r_e_t_u_r_n
- Returns the parent window.
-
- _r_o_o_t___r_e_t_u_r_n
- Returns the root window.
-
- _w Specifies the window whose list of children,
- root, parent, and number of children you want to
- obtain.
-
- DDEESSCCRRIIPPTTIIOONN
- The _X_Q_u_e_r_y_T_r_e_e function returns the root ID, the parent
- window ID, a pointer to the list of children windows (NULL
- when there are no children), and the number of children in
- the list for the specified window. The children are
- listed in current stacking order, from bottom-most (first)
- to top-most (last). _X_Q_u_e_r_y_T_r_e_e returns zero if it fails
- and nonzero if it succeeds. To free a non-NULL children
- list when it is no longer needed, use _X_F_r_e_e.
-
- BBUUGGSS
- This really should return a screen *, not a root window
- ID.
-
- SSEEEE AALLSSOO
- XFree(3X11), XGetWindowAttributes(3X11), XQuery-
- Pointer(3X11)
- _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
-
-
-
-
-
-
-
- X Version 11 Release 6.1 1
-
-
-