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

# XmStringDirection(3)

Data type for the direction of display in a string

## NAME

**XmStringDirection** — Data type for the direction of display in a string

## SYNOPSIS

```
#include <Xm/Xm.h>
```

## DESCRIPTION

**XmStringDirection** is the data type for specifying the direction in which the system displays characters of a string, or characters of a segment of a compound string. This is an enumeration with three possible values:

- **XmSTRING\_DIRECTION\_L\_TO\_R**

  Specifies left to right display

- **XmSTRING\_DIRECTION\_R\_TO\_L**

  Specifies right to left display

- **XmSTRING\_DIRECTION\_DEFAULT**

  Specifies that the display direction will be set by the widget in which the compound string is to be displayed.

## RELATED

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