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

# XmCreateComboBox(3)

The default ComboBox widget creation function

## NAME

**XmCreateComboBox** — The default ComboBox widget creation function

## SYNOPSIS

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

## DESCRIPTION

**XmCreateComboBox** creates an instance of a ComboBox widget of **XmNcomboBoxType** **XmCOMBO\_BOX** 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).
