Name
XtWindowToWidget — translate a window and display pointer into a widget ID.
Synopsis
Widget XtWindowToWidget(display, window)
Display ∗display;
Window window;
Arguments
displaySpecifies the display on which the window is defined.
windowSpecify the window for which you want the widget.
Description
XtWindowToWidget takes a display pointer and a window and returns the associated widget ID. The widget must be within the same application as the caller.
On failure, XtWindowToWidget returns NULL.