XtParent(3) XT FUNCTIONS XtParent(3)

XtParent - obtain widget's parent widget id

#include <X11/Intrinsic.h>

Widget XtParent(Widget w);

Specifies the widget.

XtParent returns the widget's parent widget ID.

X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface

libXt 1.3.0 X Version 11