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

# XmCreateSpinBox(3)

The SpinBox creation function

## NAME

**XmCreateSpinBox** — The SpinBox creation function

## SYNOPSIS

```
#include <Xm/SpinB.h>
(void)
```

## DESCRIPTION

**XmCreateSpinBox** creates a SpinBox widget.

This function creates a SpinBox with two arrows, but without any traversable children (choices to spin). The application can create text children to go with this parent SpinBox using **XmCreateTextField** or **XmCreateText**.

- *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 SpinBox and its associated resources, see [**XmSpinBox**(3)](/XmSpinBox/3.md).

## RETURN

Returns the SpinBox widget ID.

## RELATED

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