GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DtEditorGetLastPosition(library call) DtEditorGetLastPosition(library call)

DtEditorGetLastPosition — retrieve the position of the last character in a DtEditor widget

#include &<Dt/Editor.h>
XmTextPosition DtEditorGetLastPosition(
Widget widget);

The DtEditorGetLastPosition function accesses the last text position in the DtEditor widget. The position is an integer number of characters from the beginning of the widget's buffer. Any text added to the end of the buffer is added after this position. The first character position is zero. The last character position is equal to the number of characters contained in the widget.

The widget argument specifies the DtEditor widget ID.

For a complete definition of the DtEditor widget and its associated resources, see DtEditor(3).

Upon successful completion, the DtEditorGetLastPosition function returns an XmTextPosition value that indicates the last position in the text; otherwise, it returns NULL.

The position information is given in terms of characters, which may differ from the byte position when multi-byte code sets are in use.

Dt/Editor.h - DtEditor(5), DtEditor(3), DtEditorGetInsertionPosition(3), DtEditorSetInsertionPosition(3).


Search for    or go to Top of page |  Section l |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.