Table of Contents

## 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

Table of Contents

- Name
- Syntax
- Arguments
- Description
- See Also