Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dwtcstextgetmaxlength(3dwt) [ultrix man page]

DwtCSTextGetMaxLength(3Dwt)											       DwtCSTextGetMaxLength(3Dwt)

Name
       DwtCSTextGetMaxLength - Obtains the current maximum allowable length of the text in the compound-string text widget.

Syntax
       int DwtCSTextGetMaxLength(widget)
	    Widget widget;

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

Description
       The DwtCSTextGetMaxLength function returns the current maximum allowable length of the text in the compound-string text widget.

Return Values
       This function returns the maximum length, in characters, of the text in the compound string text widget.

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

														       DwtCSTextGetMaxLength(3Dwt)

Check Out this Related Man Page

DwtCSTextSetSelection(3Dwt)											       DwtCSTextSetSelection(3Dwt)

Name
       DwtCSTextSetSelection - Highlights the specified text in the compound-string text widget and makes it the current global selection.

Syntax
       void DwtCSTextSetSelection(widget, first, last, time)
	    Widget widget;
	    int first, last;
	    Time time;

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

       first	 Specifies the first character position of the selected compound-string text.

       last	 Specifies the last character position of the selected compound-string text.

       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 DwtCSTextSetSelection function makes the specified text in the compound-string text widget the current global selection and	highlights
       it  in the compound-string text widget.	Within the text window, first marks the first character position and last marks the last position.
       The field characters start at 0 and increase sequentially.

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

														       DwtCSTextSetSelection(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