XmTextGetInsertionPosition(3)

XmTextGetInsertionPosition3

A text function that accesses the position of the insert cursor

Usage

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

Overview

XmTextGetInsertionPosition accesses the insertion cursor position of the Text widget.

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 state of the XmNcursorPosition resource. This is an integer number of characters from the beginning of the text buffer. The first character position is 0 (zero).

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.