XtParent(3) Library Functions Manual XtParent(3)

XtParent - obtain widget's parent widget id

Widget XtParent(Widget w);

w
Specifies the widget.

XtParent returns the widget's parent widget ID.

X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
X Version 11 XT FUNCTIONS