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

# XmCreateDropDownList(3)

The Drop-down list ComboBox widget creation function

## NAME

**XmCreateDropDownList** — The Drop-down list ComboBox widget creation function

## SYNOPSIS

```
#include <Xm/ComboBox.h>
Widget XmCreateDropDownList(
Widget parent,
String name,
ArgList arglist,
Cardinal arg_count);
```

## DESCRIPTION

**XmCreateDropDownList** creates an instance of a ComboBox widget of **XmNcomboBoxType** **XmDROP\_DOWN\_LIST** 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.

- **arg\_count**

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

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

## RETURN

Returns the ComboBox widget ID.

## RELATED

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