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

XmTextScroll — A Text function that scrolls text "XmTextScroll" "Text functions" "XmTextScroll"

Description

XmTextScroll  scrolls  text  by  a  given  number  of  lines  in a Text widget. The sign of the number is
       interpreted according to the value of the XmNlayoutDirection resource.

       widget    Specifies the Text widget ID

       lines     Specifies the number of lines of text to scroll. A positive value causes text to scroll upward;
                 a negative value causes text to scroll downward.  Note that the text will scroll only  as  long
                 as one line of text remains visible in the window.

                 If  a  navigator  exists,  this  function  uses  the XmQTnavigator trait to update the vertical
                 navigator's value.

                 In the case of vertical writing, a positive value causes the text to scroll forward; a negative
                 value causes the lines to scroll backward.

       For a complete definition of Text and its associated resources, see XmText(3).

Name

XmTextScroll — A Text function that scrolls text "XmTextScroll" "Text functions" "XmTextScroll"

Synopsis

       #include <Xm/Text.h>
       voidXmTextScroll(
       Widgetwidget,
       intlines);

See Also