1XmTextSetMaxLength(library call)              XmTextSetMaxLength(library call)
2
3
4

NAME

6       XmTextSetMaxLength — A Text function that sets the value of the current
7       maximum allowable length of a text string entered from the keyboard
8

SYNOPSIS

10       #include <Xm/Text.h>
11       void XmTextSetMaxLength(
12       Widget widget,
13       int max_length);
14

DESCRIPTION

16       XmTextSetMaxLength sets the value  of  the  current  maximum  allowable
17       length  of  the  text  string in the Text widget. The maximum allowable
18       length prevents the user from entering a text string from the  keyboard
19       that  is  larger  than  this limit.  Strings that are entered using the
20       XmNvalue  (or  XmNvalueWcs)  resource,  or  the   XmTextSetString   (or
21       XmTextSetStringWcs) function ignore this resource.
22
23       widget    Specifies the Text widget ID
24
25       max_length
26                 Specifies the maximum allowable length of the text string
27
28       For  a  complete  definition  of Text and its associated resources, see
29       XmText(3).
30
32       XmText(3), XmTextSetString(3), and XmTextSetStringWcs(3).
33
34
35
36                                              XmTextSetMaxLength(library call)
Impressum