XmTextFieldGetMaxLength(X3mot)


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

Synopsis

#include <Xm/TextF.h>

int XmTextFieldGetMaxLength (widget) Widget widget;

Description

XmTextFieldGetMaxLength accesses the value of the current maximum allowable length of the text string in the TextField widget entered from the keyboard. The maximum allowable length prevents the user from entering a text string larger than this limit.

widget
Specifies the TextField widget ID

For a complete definition of TextField and its associated resources, see XmTextField(X3mot).

Return values

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

References

XmTextField(X3mot)


25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004