DXmCSTextGetInsertionPosition(3X)DXmCSTextGetInsertionPosition(3X)NAME
DXmCSTextGetInsertionPosition - Retrieves (returns) the logical position of the insertion cursor.
SYNOPSIS
DXmCSTextPosition DXmCSTextGetInsertionPosition(
Widget widget );
PARAMETERS
The identifier (widget ID) of the compound string text widget.
DESCRIPTION
The DXmCSTextGetInsertionPosition routine retrieves the logical position of the insertion cursor by returning an integer that indicates the
distance (in number of characters) between the cursor and the beginning of the text buffer.
RETURN VALUES
An integer that represents the logical position of the cursor, by number of characters from the beginning of the text buffer.
SEE ALSO DXmCSTextSetInsertionPosition(3X)DXmCSTextGetInsertionPosition(3X)
Check Out this Related Man Page
DtEditorGetInsertionPosition(library call) DtEditorGetInsertionPosition(library call)
NAME
DtEditorGetInsertionPosition -- retrieve the position of the insert cursor in a DtEditor widget
SYNOPSIS
#include <Dt/Editor.h>
XmTextPosition DtEditorGetInsertionPosition(
Widget widget);
DESCRIPTION
The DtEditorGetInsertionPosition function accesses the current position of the insertion cursor in the DtEditor widget. The position is an
integer number of characters from the beginning of the widget's text buffer. The first character position is zero. The position of the
insertion cursor can be set with DtEditorSetInsertionPosition(3).
The widget argument specifies the DtEditor widget ID.
For a complete definition of the DtEditor widget and its associated resources, see DtEditor(3).
RETURN VALUE
Upon successful completion, the DtEditorGetInsertionPosition function returns an XmTextPosition value that indicates the position of the
insertion cursor in the text; otherwise, it returns NULL.
SEE ALSO
Dt/Editor.h - DtEditor(5), DtEditor(3), DtEditorGetLastPosition(3), DtEditorSetInsertionPosition(3).
DtEditorGetInsertionPosition(library call)
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)