'\" t .\" TxtSetMa.sgm /main/8 1996/09/08 21:19:54 rws $ .de P! .fl \!!1 setgray .fl \\&.\" .fl \!!0 setgray .fl \" force out current output buffer \!!save /psv exch def currentpoint translate 0 0 moveto \!!/showpage{}def .fl \" prolog .sy sed -e 's/^/!/' \\$1\" bring in postscript file \!!psv restore . .de pF .ie \\*(f1 .ds f1 \\n(.f .el .ie \\*(f2 .ds f2 \\n(.f .el .ie \\*(f3 .ds f3 \\n(.f .el .ie \\*(f4 .ds f4 \\n(.f .el .tm ? font overflow .ft \\$1 .. .de fP .ie !\\*(f4 \{\ . ft \\*(f4 . ds f4\" ' br \} .el .ie !\\*(f3 \{\ . ft \\*(f3 . ds f3\" ' br \} .el .ie !\\*(f2 \{\ . ft \\*(f2 . ds f2\" ' br \} .el .ie !\\*(f1 \{\ . ft \\*(f1 . ds f1\" ' br \} .el .tm ? font underflow .. .ds f1\" .ds f2\" .ds f3\" .ds f4\" .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n .TH "XmTextSetMaxLength" 3 .SH "NAME" \fBXmTextSetMaxLength\fP \(em A Text function that sets the value of the current maximum allowable length of a text string entered from the keyboard "XmTextSetMaxLength" "Text functions" "XmTextSetMaxLength" .SH "SYNOPSIS" .PP .nf #include \fBvoid \fBXmTextSetMaxLength\fP\fR( \fBWidget \fBwidget\fR\fR, \fBint \fBmax_length\fR\fR); .fi .SH "DESCRIPTION" .PP \fBXmTextSetMaxLength\fP sets the value of the current maximum allowable length of the text string in the Text widget\&. The maximum allowable length prevents the user from entering a text string from the keyboard that is larger than this limit\&. Strings that are entered using the \fBXmNvalue\fP (or \fBXmNvalueWcs\fP) resource, or the \fBXmTextSetString\fP (or \fBXmTextSetStringWcs\fP) function ignore this resource\&. .IP "\fIwidget\fP" 10 Specifies the Text widget ID .IP "\fImax_length\fP" 10 Specifies the maximum allowable length of the text string .PP For a complete definition of Text and its associated resources, see \fBXmText\fP(3)\&. .SH "RELATED" .PP \fBXmText\fP(3), \fBXmTextSetString\fP(3), and \fBXmTextSetStringWcs\fP(3)\&. .\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:36