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

DwtCSTextGetSelection(3Dwt)											       DwtCSTextGetSelection(3Dwt)

Name
       DwtCSTextGetSelection - Retrieves the global selection, if any, currently highlighted, in the compound string text widget.

Syntax
	    DwtCompString DwtCSTextGetSelection(widget)
	    Widget widget;

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

Description
       The  DwtCSTextGetSelection  function  retrieves the text currently highlighted (selected) in the compound string text widget.  It returns a
       NULL pointer if no text is selected in the widget.  The application is responsible for freeing the storage  associated  with  the  text	by
       calling XtFree.

Return Values
       This function returns a pointer to the selected compound string text.

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

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