XmTextGetLastPosition(3)

XmTextGetLastPosition3

A text function that accesses the last position in the text

Usage

#include <Xm/Text.h>
XmTextPosition XmTextGetLastPosition(
Widget widget);

Overview

XmTextGetLastPosition accesses the last position in the text buffer of the Text widget. This is an integer number of characters from the beginning of the buffer, and represents the position that text added to the end of the buffer is placed after. The first character position is 0 (zero). The last character position is equal to the number of characters in the text buffer.

widget

Specifies the Text widget ID

For a complete definition of Text and its associated resources, see XmText(3).

Return

Returns an XmTextPosition value that indicates the last position in the text buffer.

Releases

7 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8–13
  2. Arch

From openmotif 2.3.8-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.