DXmCSTextSetMaxLength(3X)DXmCSTextSetMaxLength(3X)NAME
DXmCSTextSetMaxLength - Sets the maximum allowable length of the text in the compound string text widget.
SYNOPSIS
void DXmCSTextSetMaxLength(
Widget widget,
int max_length );
PARAMETERS
The identifier (widget ID) of the compound string text widget. An integer that represents the maximum length, in characters, of the text
in the compound string text widget. This parameter sets the XmNmaxLength resource used by the DXmCreateCSText routine.
DESCRIPTION
The DXmCSTextSetMaxLength routine sets the maximum allowable length of the text in the compound string text widget. It prohibits the user
from entering text longer than this limit.
SEE ALSO DXmCreateCSText(3X), DXmCSTextGetMaxLength(3X)DXmCSTextSetMaxLength(3X)
Check Out this Related Man Page
DXmCSTextSetSelection(3X)DXmCSTextSetSelection(3X)NAME
DXmCSTextSetSelection - Designates the specified text as the current primary selection by highlighting it in the compound string text wid-
get.
SYNOPSIS
void DXmCSTextSetSelection(
Widget widget,
DXmCXTextPosition first,
DXmCXTextPosition last,
Time time );
PARAMETERS
The identifier (widget ID) of the compound string text widget. A value that represents the position of the first character in the text
being selected. A value that represents the position of the last character in the text being selected. Specifies the time of the event
that generated the call to the DXmCSTextSetSelection routine.
DESCRIPTION
The DXmCSTextSetSelection routine designates the specified text as the current primary selection by highlighting it in the compound string
text widget. Within the text window, first marks the position of the first character in the text and last marks the last character. The
field characters start at 0 and increase sequentially.
SEE ALSO DXmCreateCSText(3X), DXmCSTextClearSelection(3X), DXmCSTextGetSelection(3X)DXmCSTextSetSelection(3X)
Hi Folks,
Today hasn't been the best one of my career in IT.
I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them.
At the... (3 Replies)