June 1994
Intermediate to advanced
821 pages
24h 40m
English
XQueryTree() lets you get the IDs of the
windows in any portion of the window hierarchy with a single call. This
is the only way to find out the IDs of windows created by other clients.
XQueryTree() gets the root window ID, the parent
window ID, and the list of child window IDs given a window. It also
returns the number of children.
One possible use of XQueryTree() is to find out
whether your application’s top-level window has been reparented by the
window manager, and it returns the ID of the new parent.
Read now
Unlock full access