GList* gdk_window_get_children ( GdkWindow* window )
Gets the list of children of
window known to GDK.
This function only returns children created via GDK,
so for example it’s useless when used with the root window;
it only returns windows an application created itself.
The returned list must be freed, but the elements in the list need not be.