---
name: "XmGetXmDisplay"
section: "3"
platform: "linux"
package: "openmotif"
version: "2.3.8-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XmGetXmDisplay"
---

# XmGetXmDisplay(3)

A Display function that returns the XmDisplay object ID for a specified display

## NAME

**XmGetXmDisplay** — A Display function that returns the XmDisplay object ID for a specified display

## SYNOPSIS

```
#include <Xm/Display.h>
Widget XmGetXmDisplay(
Display *display);
```

## DESCRIPTION

**XmGetXmDisplay** returns the **XmDisplay** object ID associated with a display. The application can access Display resources with **XtGetValues**.

- *display*

  Specifies the display for which the **XmDisplay** object ID is to be returned

For a complete definition of Display and its associated resources, see [**XmDisplay**(3)](/XmDisplay/3.md).

## RETURN

Returns the **XmDisplay** object ID for the specified display.

## RELATED

[**XmDisplay**(3)](/XmDisplay/3.md).
