XmTextGetMaxLength(3)

XmTextGetMaxLength3

A text function that accesses the value of the current maximum allowable length of a text string entered from the keyboard

Usage

#include <Xm/Text.h>
int XmTextGetMaxLength(
Widget widget);

Overview

XmTextGetMaxLength accesses the value of the current maximum allowable length of the text string in the Text widget entered from the keyboard. The maximum allowable length prevents the user from entering a text string larger than this limit. Note that the maximum allowable length is the same as the value of the widget's XmNmaxLength resource.

widget

Specifies the Text widget ID

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

Return

Returns the integer value that indicates the string's maximum allowable length that can be entered from the keyboard.

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.