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

# XmTextFieldShowPosition(3)

A TextField function that forces text at a given position to be displayed

## NAME

**XmTextFieldShowPosition** — A TextField function that forces text at a given position to be displayed

## SYNOPSIS

```
#include <Xm/TextF.h>
void XmTextFieldShowPosition(
Widget widget,
XmTextPosition position);
```

## DESCRIPTION

**XmTextFieldShowPosition** forces text at the specified position to be displayed. The cursor position is not updated nor is the cursor shown at this position.

- *widget*

  Specifies the TextField widget ID

- *position*

  Specifies the character position to be displayed. This is an integer number of characters from the beginning of the text buffer. The first character position is 0 (zero). See [**XmTextPosition**(3)](/XmTextPosition/3.md) for details on the **XmTextPosition** data type.

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

## RELATED

[**XmTextField**(3)](/XmTextField/3.md) and [**XmTextPosition**(3)](/XmTextPosition/3.md).
