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

# XmStringPeekNextTriple(3)

A function that returns the component type of the next component

## NAME

**XmStringPeekNextTriple** — A function that returns the component type of the next component

## SYNOPSIS

```
#include <Xm/Xm.h>
XmStringComponentType XmStringPeekNextTriple(
XmStringContext context);
```

## DESCRIPTION

**XmStringPeekNextTriple** examines the next component that would be fetched by **XmStringGetNextTriple** and returns the component type.

- *context*

  Specifies the string context structure that was allocated by the **XmStringInitContext** function.

## RETURN

Returns the type of the component found. Refer to the [**XmStringComponentType**(3)](/XmStringComponentType/3.md) reference page for a list of component types.

## RELATED

[**XmString**(3)](/XmString/3.md), [**XmStringComponentType**(3)](/XmStringComponentType/3.md), and [**XmStringGetNextTriple**(3)](/XmStringGetNextTriple/3.md).
