Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DXmCSTextSetMaxLength(3X)  —  Subroutines

Digital

NAME

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

SYNOPSIS

void DXmCSTextSetMaxLength(widget, max_length)
   Widget widget;
   int   max_length;

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. 

Arguments

widgetThe 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 argument sets the XmNmaxLength resource used by the DXmCreateCSText routine. 

RELATED INFORMATION

DXmCreateCSText and DXmCSTextGetMaxLength. 

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