logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

XmTextFieldGetSelectionPosition — A TextField function that accesses the position of the primary

Description

XmTextFieldGetSelectionPosition accesses the left and right position of the primary selection in the text
       buffer of the TextField widget.

       widget    Specifies the TextField widget ID

       left      Specifies the pointer in which the position of the left boundary of the  primary  selection  is
                 returned.  This  is an integer number of characters from the beginning of the buffer. The first
                 character position is 0 (zero).

       right     Specifies the pointer in which the position of the right boundary of the primary  selection  is
                 returned.  This  is an integer number of characters from the beginning of the buffer. The first
                 character position is 0 (zero).

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

Name

XmTextFieldGetSelectionPosition  —  A  TextField  function  that  accesses  the  position  of the primary
       selection "XmTextFieldGetSelection\%Position" "TextField functions" "XmTextFieldGetSelection\%Position"

Return

       This function returns True if the widget owns the primary selection; otherwise, it returns False.

Synopsis

       #include <Xm/TextF.h>
       BooleanXmTextFieldGetSelectionPosition(
       Widgetwidget,
       XmTextPosition*left,
       XmTextPosition*right);

See Also