---
name: "XtDisplay"
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/XtDisplay/3x"
---

# XtDisplay(3x)

obtain window information about a widget

## NAME

XtDisplay, XtDisplayOfObject, XtScreen, XtScreenOfObject, XtWindow, XtWindowOfObject - obtain window information about a widget

## SYNTAX

Display \*XtDisplay(Widget *w*);

Display \*XtDisplayOfObject(Widget *object*);

Screen \*XtScreen(Widget *w*);

Screen \*XtScreenOfObject(Widget *object*);

Window XtWindow(Widget *w*);

Window XtWindowOfObject(Widget *object*);

## ARGUMENTS

- *w*

  Specifies the widget.

- *object*

  Specifies the widget.

## DESCRIPTION

*XtDisplay* returns the display pointer for the specified widget.

*XtDisplayOfObject* returns the display pointer for the specified object.

*XtScreen* returns the screen pointer for the specified widget.

*XtScreenOfObject* returns the screen pointer for the specified object.

*XtWindow* returns the window of the specified widget.

*XtWindowOfObject* returns the window of the specified object.

## SEE ALSO

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