Scroll to navigation

XmTextFieldShowPosition(3) Library Functions Manual XmTextFieldShowPosition(3)


XmTextFieldShowPosition — A TextField function that forces text at a given position to be displayed "XmTextFieldShowPosition" "TextField functions" "XmTextFieldShowPosition"


#include <Xm/TextF.h>
void XmTextFieldShowPosition(
Widget widget,
XmTextPosition position);


XmTextFieldShowPosition forces text at the specified position to be displayed. The cursor position is not updated nor is the cursor shown at this position.

Specifies the TextField widget ID
Specifies the character position to be displayed. This is an integer number of characters from the beginning of the text buffer. The first character position is 0 (zero). See XmTextPosition(3) for details on the XmTextPosition data type.

For a complete definition of TextField and its associated resources, see XmTextField(3).


XmTextField(3) and XmTextPosition(3).