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

# XmCreateDialogShell(3)

The DialogShell widget creation function

## NAME

**XmCreateDialogShell** — The DialogShell widget creation function

## SYNOPSIS

```
#include <Xm/DialogS.h>
Widget XmCreateDialogShell(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);
```

## DESCRIPTION

**XmCreateDialogShell** creates an instance of a DialogShell widget and returns the associated widget ID.

- *parent*

  Specifies the parent widget ID

- *name*

  Specifies the name of the created widget

- *arglist*

  Specifies the argument list

- *argcount*

  Specifies the number of attribute/value pairs in the argument list (*arglist*)

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

## RETURN

Returns the DialogShell widget ID.

## RELATED

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