Reference

XtScreen(3) on Linux

The text 55501daeb0a5, as Debian 8 (Jessie) shipped it.

obtain window information about a widget

XtScreen(3) on Linux now