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

# XmTextShowPosition(3)

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

## NAME

**XmTextShowPosition** — A Text function that forces text at a given position to be displayed

## SYNOPSIS

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

## DESCRIPTION

**XmTextShowPosition** forces text at the specified position to be displayed. If the **XmNautoShowCursorPosition** resource is True, the application should also set the insert cursor to this position.

- *widget*

  Specifies the Text 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).

If a navigator exists, this function uses the **XmQTnavigator** trait to update the horizontal navigator's value.

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

## RELATED

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