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

# XmContainerRelayout(3)

Container widget relayout function

## NAME

**XmContainerRelayout** — Container widget relayout function

## SYNOPSIS

```
#include <Xm/Container.h>
void XmContainerRelayout(
Widget container);
```

## DESCRIPTION

**XmContainerRelayout** forces a layout of all items in the Container using the **XmNpositionIndex** and **XmNentryParent** constraint resources associated with each item.

- *container*

  Specifies the Container widget ID.

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

## RELATED

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