XmTextFieldGetSelectionPosition(3) | Library Functions Manual | XmTextFieldGetSelectionPosition(3) |
XmTextFieldGetSelectionPosition — A TextField function that accesses the position of the primary selection "XmTextFieldGetSelection\%Position" "TextField functions" "XmTextFieldGetSelection\%Position"
#include <Xm/TextF.h> Boolean XmTextFieldGetSelectionPosition( Widget widget, XmTextPosition *left, XmTextPosition *right);
XmTextFieldGetSelectionPosition accesses the left and right position of the primary selection in the text buffer of the TextField widget.
For a complete definition of TextField and its associated resources, see XmTextField(3).
This function returns True if the widget owns the primary selection; otherwise, it returns False.