1XmTextGetMaxLength(library call) XmTextGetMaxLength(library call)
2
3
4
6 XmTextGetMaxLength — A Text function that accesses the value of the
7 current maximum allowable length of a text string entered from the key‐
8 board
9
11 #include <Xm/Text.h>
12 int XmTextGetMaxLength(
13 Widget widget);
14
16 XmTextGetMaxLength accesses the value of the current maximum allowable
17 length of the text string in the Text widget entered from the keyboard.
18 The maximum allowable length prevents the user from entering a text
19 string larger than this limit. Note that the maximum allowable length
20 is the same as the value of the widget's XmNmaxLength resource.
21
22 widget Specifies the Text widget ID
23
24 For a complete definition of Text and its associated resources, see
25 XmText(3).
26
28 Returns the integer value that indicates the string's maximum allowable
29 length that can be entered from the keyboard.
30
32 XmText(3).
33
34
35
36 XmTextGetMaxLength(library call)