Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DXmCreateCSText(3X)

DXmCSTextGetMaxLength(3X)

DXmCSTextSetMaxLength(3X)  —  Subroutines

NAME

DXmCSTextSetMaxLength − Sets the maximum allowable length of the text in the compound string text widget. 

SYNOPSIS

void DXmCSTextSetMaxLength(
        Widget widget,
        int max_length );

PARAMETERS

widget
The identifier (widget ID) of the compound string text widget.

max_length
An integer that represents the maximum length, in characters, of the text in the compound string text widget.  This parameter sets the XmNmaxLength resource used by the DXmCreateCSText routine. 

DESCRIPTION

The DXmCSTextSetMaxLength routine sets the maximum allowable length of the text in the compound string text widget.  It prohibits the user from entering text longer than this limit. 

SEE ALSO

DXmCreateCSText(3X), DXmCSTextGetMaxLength(3X)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026