Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dxmcstextgetinsertionposition(3x) [osf1 man page]

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

DtEditorSetInsertionPosition(library call)								DtEditorSetInsertionPosition(library call)

NAME
DtEditorSetInsertionPosition -- set the position of the insert cursor in a DtEditor widget SYNOPSIS
#include <Dt/Editor.h> void DtEditorSetInsertionPosition( Widget widget, XmTextPosition position); DESCRIPTION
The DtEditorSetInsertionPosition function sets the insertion cursor position of the DtEditor widget. The current position of the insertion cursor can be retrieved with DtEditorGetInsertionPosition(3). The last text position of the DtEditor widget can be retrieved with DtEditor- GetLastPosition(3). The widget argument specifies the DtEditor widget ID. The position argument specifies the position of the insertion cursor. This is an integer number of characters from the beginning of the text buffer. The first character position is zero. Values greater than the last position place the cursor at the last position (that is, at the end of the text). For a complete definition of the DtEditor widget and its associated resources, see DtEditor(3). RETURN VALUE
The DtEditorSetInsertionPosition function returns no value. SEE ALSO
Dt/Editor.h - DtEditor(5), DtEditor(3), DtEditorGetInsertionPosition(3), DtEditorGetLastPosition(3). DtEditorSetInsertionPosition(library call)
Man Page

We Also Found This Discussion For You

1. What is on Your Mind?

Throw my Toys out of the Pram!

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)
Discussion started by: gull04
3 Replies