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
DwtCSTextSetEditable(3Dwt) DwtCSTextSetEditable(3Dwt)
Name
DwtCSTextSetEditable - Sets the permission state that determines whether the user can edit text in the compound-string text widget.
Syntax
void DwtCSTextSetEditable(widget, editable)
Widget widget;
Boolean editable;
Arguments
widget Specifies the ID of the compound-string text widget.
editable Specifies a boolean value that, when True, indicates that the user can edit the text in the compound-string text widget. If
False, prohibits the user from editing the text.
Description
The DwtCSTextSetEditable function sets the edit permission state information concerning whether the user can edit text in the compound-
string text widget.
See Also
DwtCSText(3Dwt) , DwtCSTextCreate(3Dwt) , DwtCSTextReplace(3Dwt) , DwtCSTextSetString(3Dwt) , DwtCSTextGetEditable(3Dwt) , DwtCSTextGet-
MaxLength(3Dwt) , DwtCSTextSetMaxLength(3Dwt) , DwtCSTextSetSelection(3Dwt) , DwtCSTextGetSelection(3Dwt)
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding
DwtCSTextSetEditable(3Dwt)
Man Page
4 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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