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

# XmCreateFrame(3)

The Frame widget creation function

## NAME

**XmCreateFrame** — The Frame widget creation function

## SYNOPSIS

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

## DESCRIPTION

**XmCreateFrame** creates an instance of a Frame 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 Frame and its associated resources, see [**XmFrame**(3)](/XmFrame/3.md).

## RETURN

Returns the Frame widget ID.

## RELATED

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