---
name: "XtParent"
section: "3x"
platform: "linux"
package: "libxt-dev"
version: "4.3.0.dfsg.1-14sarge7"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/XtParent/3x"
---

# XtParent(3x)

obtain widget's parent widget id

## NAME

XtParent - obtain widget's parent widget id

## SYNTAX

Widget XtParent(Widget *w*);

## ARGUMENTS

- *w*

  Specifies the widget.

## DESCRIPTION

*XtParent* returns the widget's parent widget ID.

## SEE ALSO

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