title: Convert from window name to shell?
body: <p>Using a combination of <code>XInterAtom(disp, "_NET_CLIENT_LIST", False)</code> and <code>XGetWindowProperty</code>, I can successfully obtain a list of running windows.</p>
  
  <p>However, is there a way to convert that data to a pointer to a shell or widget, to be able to determine when a given window is closed, or what it's children are, or to create any callbacks?</p>
  
  <p>I have tried to use <code>XtWindowToWidget</code> and <code>XtHooksOfDisplay</code> to no avail, but I could have been using them incorrectly as well.</p>
  
  <p>Or, is there another way to do this... knowing that the shell and window creation is part of a different application that I cannot modify?</p>