DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

XmTextGetMaxLength(Xm)


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

Syntax

#include <Xm/Text.h>

int XmTextGetMaxLength (widget) Widget widget;

Description

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.

widget
Specifies the Text widget ID

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

Return value

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

See also

XmText(Xm)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005