Reference

XtScreen(3) on Linux

The text 5ef01c6076f6, as Debian 5.0 (Lenny) shipped it.

obtain window information about a widget

XtScreen(3) on Linux now