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

# XmRenditionCreate(3)

A convenience function that creates a rendition

## NAME

**XmRenditionCreate** — A convenience function that creates a rendition

## SYNOPSIS

```
#include <Xm/Xm.h>
XmRendition XmRenditionCreate(
Widget widget,
XmStringTag tag,
ArgList arglist,
Cardinal argcount);
```

## DESCRIPTION

**XmRenditionCreate** creates a rendition whose resources are set to the values specified in *arglist*. Default values are assigned to resources that are not specified.

- *widget*

  Specifies the widget used for deriving any necessary information for creating the rendition. In particular, the X display of *widget* will be used for loading fonts.

- *tag*

  Specifies the tag for the rendition. (This will become the **XmNtag** resource for the rendition.)

- *arglist*

  Specifies the argument list.

- *argcount*

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

## RETURN

Returns the created rendition. The function allocates space to hold the returned rendition. The application is responsible for managing this allocated space. The application can recover this allocated space by calling **XmRenditionFree**.

## RELATED

[**XmRendition**(3)](/XmRendition/3.md) and [**XmRenditionFree**(3)](/XmRenditionFree/3.md).
