Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dwtcstextsetmaxlength(3dwt) [ultrix man page]

DwtCSTextSetMaxLength(3Dwt)											       DwtCSTextSetMaxLength(3Dwt)

Name
       DwtCSTextSetMaxLength - Sets the maximum allowable length of the text in the compound-string text widget.

Syntax
       void DwtCSTextSetMaxLength(widget, max_length)
	    Widget widget;
	    int max_length;

Arguments
       widget	 Specifies the ID of the compound-string text widget.

       max_length
		 Specifies  the  maximum  length,  in  characters,  of	the text in the compound string text widget.  This argument sets the DwtN-
		 maxLength attribute associated with DwtCSTextCreate.

Description
       The DwtCSTextSetMaxLength function sets the maximum allowable length of the text in the compound-string text widget and prevents  the  user
       from entering text longer than this limit.

See Also
       DwtCSText(3Dwt), DwtCSTextCreate(3Dwt), DwtCSTextReplace(3Dwt), DwtCSTextSetString(3Dwt), DwtCSTextGetEditable(3Dwt), DwtCSTextSetEd-
       itable(3Dwt), DwtCSTextGetMaxLength(3Dwt), DwtCSTextSetSelection(3Dwt), DwtCSTextGetSelection(3Dwt)
       Guide to the XUI Toolkit: C Language Binding
       Guide to the XUI Toolkit Intrinsics: C Language Binding

														       DwtCSTextSetMaxLength(3Dwt)

Check Out this Related Man Page

DwtCSTextClearSelection(3Dwt)											     DwtCSTextClearSelection(3Dwt)

Name
       DwtCSTextClearSelection - Clears the global selection highlighted in the compound-string text widget.

Syntax
       void DwtCSTextClearSelection(widget, time)
	    Widget widget;
	    Time time;

Arguments
       widget	 Specifies the ID of the compound-string text widget.

       time	 Specifies  the  time  of  the	event that led to the call to XSetSelectionOwner.  You can pass either a timestamp or CurrentTime.
		 Whenever possible, however, use the timestamp of the event leading to the call.

Description
       The DwtCSTextClearSelection function clears the global selection highlighted in the compound-string text widget.

See Also
       DwtCSText(3Dwt), DwtCSTextCreate(3Dwt), DwtCSTextReplace(3Dwt), DwtCSTextGetString(3Dwt),  DwtCSTextSetString(3Dwt),  DwtCSTextGetEd-
       itable(3Dwt), DwtCSTextSetEditable(3Dwt), DwtCSTextGetMaxLength(3Dwt), DwtCSTextSetMaxLength(3Dwt), DwtCSTextSetSelection(3Dwt), DwtC-
       STextGetSelection(3Dwt)
       Guide to the XUI Toolkit: C Language Binding
       Guide to the XUI Toolkit Intrinsics: C Language Binding

														     DwtCSTextClearSelection(3Dwt)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Cut text from a file

How can I cut the text of definite length say from line no. 20 to 1000? It is trivial ques, but I am very new to Unix. Thanks :) (3 Replies)
Discussion started by: JackR
3 Replies

2. Shell Programming and Scripting

changing a variable length text to a fixed length

Hi, Can anyone help with a effective solution ? I need to change a variable length text field (between 1 - 18 characters) to a fixed length text of 18 characters with the unused portion, at the end, filled with spaces. The text field is actually field 10 of a .csv file however I could cut... (7 Replies)
Discussion started by: dc18
7 Replies

3. Shell Programming and Scripting

wrapping text not exceeding 80 characters

I have a file where the text might exceed 80 characters. I want to have the maximum text lengths to be 80, and cut text from a space. I written an awk script below but does not seem to work very well { gsub("\t"," ") $0 = line $0 while (length <= WIDTH) { line = $0 ... (3 Replies)
Discussion started by: kristinu
3 Replies

4. UNIX for Dummies Questions & Answers

Determine maximum allowable processes on a platform

Hello Unix gurus, I'm creating this analysis to determine whether the maximum allowable process is nearly reached then alarm the user with it. Can someone please help me on how I can determine the maximum allowable process that a platform can handle? BTW, below are the details that might be... (0 Replies)
Discussion started by: Jin_
0 Replies