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
DXmCreateScrolledCSText(3X)DXmCreateScrolledCSText(3X)NAME
DXmCreateScrolledCSText - Creates a compound string text widget with scroll bars.
SYNOPSIS
Widget DXmCreateScrolledCSText(
Widget parent,
char *name,
Args *args,
Cardinal num_args );
PARAMETERS
The identifier (widget ID) of the parent widget. The name of the created widget. The application override argument list. The number of
arguments in the application override argument list.
DESCRIPTION
The DXmCreateScrolledCSText routine creates a compound string text widget with scroll bars. The routine uses the same arguments and
resources as the DXmCreateCSText routine to create a compound string text widget but uses the following resources to create horizontal and
vertical scroll bars for the widget as well:
-------------------------------------------------------------------
Resource Description
-------------------------------------------------------------------
XmNscrollHorizontal Controls whether a scroll bar that allows
the user to scroll through text horizontally
is added to the compound string text window.
XmNscrollTopSide Controls whether the horizontal scroll bar
is positioned at the top of the compound
string text window.
XmNscrollVertical Controls whether a scroll bar that allows
the user to scroll through text vertically
is added to the compound string text window.
XmNscrollLeftSide Controls whether the vertical scroll bar is
placed on the left side of the compound
string text window.
-------------------------------------------------------------------
Inherited Resources
The DXmCreateScrolledCSText routine inherits behaviour and resources from the following superclasses:
Core Resource Set XmPrimitive Resource Set DXmScrolledCSText Resource Set
RETURN VALUES
The identifier (widget ID) of the created compound string text widget.
SEE ALSO DXmCreateCSText(3X)DXmCreateScrolledCSText(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)