XMTEXTSCROLL(3)

πŸ“¦
version 2.5.2 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 9, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’… XmTextScroll πŸ’…

okay bestie, welcome to another library call manpage moment ✨ this one's short and sweet, so let's get into it πŸŽ€


✨ NAME ✨

XmTextScroll β€” A Text function that scrolls text πŸ¦‹

like. that's the whole job. it scrolls text. iconic behavior honestly πŸ‘‘


🌸 SYNOPSIS 🌸

#include <Xm/Text.h>
void XmTextScroll(
Widget widget,
int lines);

πŸ’– DESCRIPTION πŸ’–

XmTextScroll scrolls text by a given number of lines in a Text widget. no cap, that's it. 🫢

the sign of the number is interpreted according to the value of the XmNlayoutDirection resource. so like, the direction you're scrolling depends on your layout vibe, iykyk ✨

  • 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. so like, it won't just yeet everything off screen, there's always one line left holding the fort 😭
If a navigator exists, this function uses the XmQTnavigator trait to update the vertical navigator's value. not me casually keeping the navigator in sync πŸ“Šβœ¨
In the case of vertical writing, a positive value causes the text to scroll forward; a negative value causes the lines to scroll backward. πŸ”„ (yes bestie, vertical writing flips the meaning, stay woke πŸ‘€)

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



and that's the whole page, bestie!! this little cutie lives in the library call manual, and it signs off as XmTextScroll(library call) πŸŽ€ go forth and scroll responsibly, mwah πŸ’‹πŸŒΈβœ¨